Variations of this question have been asked, but the answers always start from scratch (i.e. from installing numpy).
I already have numpy installed on my computer from an earlier time when I downloaded Anaconda.
If I try to install numpy again using pip install numpy
, I get a long error like, the end of which looks like
Command C:\Python27\python.exe -c "import setuptools, tokenize;__file__='c:\\users\\imray~1\\appdata\\local\\temp\\pip_build_Imray\\numpy\\setu
p.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record c:\users\imray~1\appd
ata\local\temp\pip-smduhf-record\install-record.txt --single-version-externally-managed --compile failed with error code 1 in c:\users\imray~1\appdat
a\local\temp\pip_build_Imray\numpy
Storing debug log for failure in C:\Users\Imray\pip\pip.log
numpy works fine when I open cmd
from inside the Anaconda
folder and command import numpy
. But it won't work from IDLE even if I navigate to said folder (via os.chdir('C:\Anaconda')
) and issue the same command.
How do I get numpy to work in IDLE?
spyder
. I've got it open now and it looks awesome. Thanks! – Bernardo