r/Python • • Jun 08 '15

Installing Numpy is not working

I have 64-bit windows, python 3.4, and I need to install numpy. I've downloaded it from multiple sources, and followed multiple sets of instructions. But anything I do in the command prompt throws an error, either from pip for from the file location where numpy is.

Could somebody walk me through, step by step by step, what to do to install numpy? It would be greatly appreciated.

0 Upvotes

15 comments sorted by

View all comments

7

u/joshadel Jun 08 '15

I would consider grabbing the whl file from Christoph Gohlke's website: http://www.lfd.uci.edu/~gohlke/pythonlibs/

pip can directly install whl files: pip install <whl_file>

or check out the free conda/anaconda if you need more of the scientific stack and a nice way of isolating different environments:

https://store.continuum.io/cshop/anaconda/

http://conda.pydata.org/miniconda.html

1

u/JewishIGuess Jun 08 '15

Yeah I'm using wheel file. The specific error is that it is "unable to find vcvarsall.bat", which this stack overflow post is a problem with my visual express C++, but I'm not what to do to fix that. I'm just really lost...clearly I've never ventured into this part of python before...

3

u/WholesomeRobbieC Jun 08 '15

You could try Anaconda which comes with lots of packages like numpy pre-compiled. It's what I recommend for Windows users because setting up developer tools on Windows is a pain.

Edit: Heh, just noticed joshadel said the same thing - consider this an endorsement of his suggestion. :)

1

u/JewishIGuess Jun 08 '15

Yes, I gave up and got anaconda...does everything I would want it to do. Thanks a bunch!