When using python 2.7.8 under the pyenv virtualenv @ Mavericks environment, I encountered a phenomenon that an error occurred with pip install scipy
and it could not be installed.
I was able to install it with python 2.7.5 or 3.4.1 without any problems.
Running pip install scipy
usually downloads the wheel and installs it without compiling.
In python 2.7.5 and 3.4.1, wheel is downloaded and installed without any problem.
However, with python 2.7.8, the source code tar.gz is downloaded instead of wheel for some reason, and compilation starts.
At that time, scipy's numpy dependency is not processed properly and an error occurs. scipy bug?
Give up using Python 2.7.8 and use 2.7.5. Since it is installed using the wheel, there are no dependency problems. Even if you install the module using scipy, it will not be traversed.
You can clear the dependency by installing numpy first and then scipy. However, I get angry that I need a Fortran compiler when installing scipy. From here onward https://gist.github.com/goldsmith/7262122 There is a procedure in, but I have not tried it.
Recommended Posts