MCKong - 9 months ago 420

Python Question

I'm currently having trouble installing scipy via PyCharm's package manager. I have installed numpy successfully and do have the Microsoft Visual Studio C/C++ compiler in the System Variables.

However, when it's time to install scipy in PyCharm, the following error occurs:

*Executed Command: pip install scipy*

*Error occured: numpy.distutils.system_info.NotFoundError: no lapack/blas resources found*

I have seen other resources on installing blas / lapack on windows, but I'm unsure if it will work with PyCharm's installations.

If anybody has the solution / resources to redirect me to, please let me know.

Answer

As long as you're using the python.org version(s) of Python, the easiest way to install packages is to first check if they are in Christoph Gohlke's Python Extension Packages for Windows repository. There are pre-compiled packages for both `numpy`

and `scipy`

, along with many many others. You'll need to install `numpy`

from there, as it is statically-linked to Intel's MKL, and is a necessary dependency for many of the other packages there, including `scipy`

.

Source (Stackoverflow)