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

15,973

Solution 1

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.

Solution 2

The best way to install Python packages for science, math, engineering, data analysis - is using Anaconda.

It's a Python distribution, that comes with the most popular packages (see the list of packages here).

Solution 3

I had the same issue, and downloading Anaconda, and switching the project interpreter in PyCharm to \Anaconda3\python.exe helped solve this.

Good luck!

Solution 4

PyCharm uses pip utility so if any error occurs during package installation it means that if you try pip install < package > in the command line you will get the same error.

So in your case the best way is to install pre-compiled package from http://www.lfd.uci.edu/~gohlke/pythonlibs/ for your interpreter in the command line and after that restart PyCharm. Also you can check that now the package is in a package list for your interpreter: Settings| Project| Project interpreter.

Share:
15,973

Related videos on Youtube

MCKong
Author by

MCKong

Updated on June 12, 2022

Comments

  • MCKong
    MCKong about 2 years

    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.

  • Will Keeling
    Will Keeling about 9 years
    This worked for me. Once I'd downloaded the pre-compiled whl files, I ran pip install C:\path\to\numpy-1.9.2+mkl-cp27-none-win32.whl and the same for scipy