Reputation: 659
Okay so I'm fairly new to Python, I ran the commands
sudo easy_install pip
sudo pip install numpy
Afterwards, I typed python followed by import numpy
and got the error ImportError: No module named numpy
Did I miss something? Do I need to add something to sys.path?
Upvotes: 2
Views: 6212
Reputation: 659
I solved it, I had to add a path where everything was installed to my PYTHONPATH env variable. I don't know why the installer didn't automatically do that.
Upvotes: 3