How to install numpy with pip+mingw in windows? How to install numpy with pip+mingw in windows? numpy numpy

How to install numpy with pip+mingw in windows?


pip is building Numpy from source and that's quite an undertaking. The failure at the end tells me that you may not have your compiler properly configured for distutils. I use the Windows SDK compiler myself: http://www.microsoft.com/en-us/download/details.aspx?id=8279

If you use this one, you should define the environment variables:

set MSSdk=1set DISTUTILS_USE_SDK=1

Having said that, it's much easier to install Numpy and Scipy using one of the .msi installers which you can find here: http://scipy.org/Download.Numpy relies on the BLAS linear algebra libraries and the build of those is highly technical and a build of Numpy from source on Windows is best avoided unless you have a good reason to do so.