[Numpy-discussion] Installation on Windows

Nathaniel Smith njs at pobox.com
Fri Mar 20 05:06:43 EDT 2015

On Mar 20, 2015 1:49 AM, "Jerome Kieffer" <Jerome.Kieffer at esrf.fr> wrote:
> On Fri, 20 Mar 2015 09:45:41 +0100
> Per Tunedal <per.tunedal at operamail.com> wrote:
> > Hi,
> > how do I install Numpy on Windows? I've tried the setup.py file, but get
> > an error message:
> >
> > setup.py install
> >
> > gives:
> > No module named msvccompiler in numpy.distutils; trying from distutils
> > error: Unable to find vcvarsall.bat
> >
> get the ms compiler from
> http://aka.ms/vcpython27

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.

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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20150320/39bbbbc8/attachment.html>

More information about the NumPy-Discussion mailing list