I install numpy through pip on python 2.7.9 ... I checked pip list and it returns pip (1.5.6), setuptools (12.0.4) . I am running on a 64-bit version of Windows 7 and I have tried both Python 32 and 64-bit versions.
pip install numpy ends with:
Command C:\Python27\python.exe -c "import setuptools, tokenize;__file__='c:\\users\\jon\\appdata\\local\\temp\\pip_build_jon\\numpy\\setup.py';exec(compile(getattr(tokenize, 'open', open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record c:\users\jon\appdata\local\temp\pip-qnynnf-record\install-record.txt --single-version-externally-managed --compile failed with error code 1 in c:\users\jon\appdata\local\temp\pip_build_jon\numpyStoring debug log for failure in C:\Users\jon\pip\pip.log
When I checked stackoverflow for other codeode 1 error messages, their solutions were to make sure you have an updated version of setuptools . I installed Python 2.7.9 from the main site and it comes with both setuptools and pip ready to go. In addition, I made sure my system installed them by installing pip list .
So, instead, I looked at the debug log, which a console error told me to go to C:\Users\jon\pip\pip.log . It is quite long, but near the end he says
error: Microsoft Visual C++ 9.0 is required (Unable to find vcvarsall.bat). Get it from http:
I went to this url, downloaded the compiler and ran pip install numpy again. This time he did not give error code 1, but had a different problem. He printed a huge wall of text on the screen, which was never the last time I installed numpy / matplotlib / etc. He typed in a few minutes, then froze and stopped.
I'm not sure how to do this?
If this helps, I can publish pip debugging log.
python numpy pip
Jonathan brouwer
source share