I want to use numpy for a program I have to run and I want to do it in the IDLE IDE. I have installed the numpy binary from online, but when I try running "import numpy" and then some numpy commands in my script, but the python shell returns an error saying
Traceback (most recent call last):
File "/Users/Admin/Desktop/NumpyTest.py", line 1, in <module>
import numpy as np
ImportError: No module named numpy
I have tried using pip to install numpy, but when I run pip install numpy
in the bash shell, it says
Requirement already satisfied (use --upgrade to upgrade):
numpy in ./anaconda/lib/python2.7/site-packages
I have downloaded Anaconda, which I can use the numpy distribution in, but I would really like to do it in IDLE.
What should I do to get numpy working in IDLE? Do I have to save it somewhere?
p.s. I am running OsX 10.10.5 Yosemite