MCKong MCKong - 1 year ago 665
Python Question

Trouble installing scipy via pyCharm windows 8 - no lapack / blas resources found

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 Source

As long as you're using the 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.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download