Import Error: No module named numpy


Question

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

1
156
11/26/2017 9:23:50 AM

Accepted Answer

Support for Python 3 was added in NumPy version 1.5.0, so to begin with, you must download/install a newer version of NumPy.

46
10/19/2011 8:58:10 AM

You can simply use

pip install numpy

Or for python3, use

pip3 install numpy

Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow
Icon