Import Error: No module named numpy

Seb picture Seb · Oct 19, 2011 · Viewed 847.9k times · Source

I have a very similar question to this question, but still one step behind. I have only one version of Python 3 installed on my Windows 7 (sorry) 64-bit system.

I installed numpy following this link - as suggested in the question. The installation went fine but when I execute

import numpy

I got the following error:

Import error: No module named numpy

I know this is probably a super basic question, but I'm still learning.

Thanks

Answer

Andrei Madalin Butnaru picture Andrei Madalin Butnaru · Feb 18, 2016

You can simply use

pip install numpy

Or for python3, use

pip3 install numpy