When I tried to run changefinder with python to extract change points, I got stuck from installing the library, so I made a note of moving the sample.
I tried to install the library published in here with pip install changefinder
, but the installation of scipy does not work.
ImportError: No module named numpy.distutils.core
Failed building wheel for scipy
When searching, it seems that this error is quite encountered by everyone.
Since gcc and gfortran are required to install scipy, add gfortran to the already installed gcc and download gfortran from here & Installation. For me, Yosemite's gfortran 5.1.
After that, press pip install scipy
again to complete the installation.
When I got stuck in the installation of scipy, I ran pip install changefinder
and the installation was completed successfully.
An error occurs when running the sample that was on the library page.
Traceback (most recent call last):
File "...", line 5, in
This wasn't a changefinder, it was simply a lack of knowledge of python. It seems that it was batting because the sample code name was changedfinder.py, so I renamed it and solved it.
The sample code worked fine.
changefinder Install SciPy on Mac
Recommended Posts