If you are simply trying to use the numpy version that you have installed:.
(removes all files not under version control) and rebuild numpy.
If you're working with a numpy git repository, try git clean -xdf.
Likely you are trying to import a failed build of numpy. Importing the multiarray numpy extension module failed. IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE! Here is the error I get when I try to import numpy on anaconda3:įile "C:\Users\Maryam\AppData\Roaming\Python\Python37\site-packages\matplotlib_ init_.py", line 141, inįile "C:\Users\Maryam\AppData\Roaming\Python\Python37\site-packages\matplotlib\cbook_ init_.py", line 33, inįile "C:\Users\Maryam\AppData\Roaming\Python\Python37\site-packages\numpy_ init_.py", line 142, inįile "C:\Users\Maryam\AppData\Roaming\Python\Python37\site-packages\numpy\core_ init_.py", line 47, in
I do see the numpy package among site packages under lib directory! But it fails to import numpy.