Trouble installing SciPy on windows

I have Python 2.7 and NumPy installed. I have downloaded pre-built binaries for SciPy, but the install script fails with this error:

Blas ( libraries not found. Directories to search for the libraries can be specified in the numpy/distutils/site.cfg file (section [blas]) or by setting the BLAS environment variable.

I really don't know enough about this to fool with it. I assumed it was a straightforward install process, but doesn't appear to be. I googled for the BLAS environment variable, but couldn't find anything that seemed appropriate. Any help is appreciated.


EDIT: Nevermind, I found an unofficial installer exe.


To install SciPy on Windows you have to have a fortran compiler installed. The SciPy project recommends MinGW. See Building and installing SciPy. To install MinGW follow these instructions: HOWTO Install the MinGW (GCC) Compiler Suite. Then before you run pip or easy_install to install SciPy make sure that you have MinGW added to your path. See MinGW Installation Notes - Environmental Variables

A side note, It would be easier to use either the Enthought Distribution (part of the initial install) or the Active State Distribution (through pypm 32-bit only) as they already have precomiled binary packages for SciPy. Or, you could use the SciPy precompiled binary package installer for Windows.

Try installing using Scipy wheel file. Download it from here:

Make sure to download the one that's compatible with your Python version and your laptop bit. Then install it like this: pip install "path\to\your\wheel\file\scipy-0.18.1-cp27-cp27m-win_amd64.whl"

Here I am going to share what I have done to install scipy.

MY PC Configuration is windows-7 64-bit & python 2.7

  • First I download the required packages form (which version match your configuration EX: cp27==>python2.7 & cp36==>3.6)
  • Second I extract the file using 7zip (also can be used any zipper like winrar)
  • Third I copy the scipy folder which I extracted and paste it into C:\Python27\Lib\site-packages (or put it where the exact location is in your PC like ..\..\Lib\site-packages)

NOTE: Have to install numpy first before installing scipy in this same way.

To install Scipy on Windows requires a C compiler and the presence of 3rd party C libraries on the system which are difficult to install on Windows. However you can use a Wheel (.whl) file through your command prompt to install Scipy.

I faced the same problem and this is what I did:

Go to and download the version of Scipy which is compatible with your system and the Python version you have installed e.g If you have 32-Bit Windows and Python 3.6 installed then you download the version with cp36 (version3.6) and Win-32.

After downloading copy this file in the directory where you have installed Python either in the Scripts or Lib folder.

Next use the command prompt to install it after changing to the directory where you have copied the file:

C:\....> pip install scipy-1.0.0b1-cp36-cp36m-win32.whl

Steps to download scipy on Windows-

1.Go to website

2.Click Files

3.Downlaod the type you want

4.Install it.

Very easy and it worked for me.

Need Your Help

Multithreading in c# - Replicate Console class behaviour

c# multithreading

I have an application that executed 4 function sequentially. Inside each function I have outputs that are logged using console.writeline. The console internally is made to redirect all data to a fi...

How can I recognize whether it is a class or interface in java by seeing the name?


I like to know how can I recognize whether it is a class or interface by seeing the name ..