<p dir="ltr">On Mar 20, 2015 1:49 AM, "Jerome Kieffer" <<a href="mailto:Jerome.Kieffer@esrf.fr">Jerome.Kieffer@esrf.fr</a>> wrote:<br>
><br>
> On Fri, 20 Mar 2015 09:45:41 +0100<br>
> Per Tunedal <<a href="mailto:per.tunedal@operamail.com">per.tunedal@operamail.com</a>> wrote:<br>
><br>
> > Hi,<br>
> > how do I install Numpy on Windows? I've tried the setup.py file, but get<br>
> > an error message:<br>
> ><br>
> > setup.py install<br>
> ><br>
> > gives:<br>
> > No module named msvccompiler in numpy.distutils; trying from distutils<br>
> > error: Unable to find vcvarsall.bat<br>
> ><br>
><br>
> get the ms compiler from<br>
> <a href="http://aka.ms/vcpython27">http://aka.ms/vcpython27</a></p>
<p dir="ltr">Or more generally, you need to install the same version of MSVC or the "platform SDK" that was used to compile your python interpreter; this varies between python interpreters. The above link is appropriate for python 2.7 (and maybe some nearby versions too, I forget), but won't help if you're using e.g. python 3.4.</p>
<p dir="ltr">If you want maximum speed you'll also need to acquire an optimized blas library from somewhere, which can be tricky. You might prefer to just download Christoph Gohlke's wheels (which are linked against the proprietary MKL, in case you care), or to use a scientific python distribution like anaconda or pythonxy.</p>
<p dir="ltr">-n</p>