Numpy in Python 3.6: Failed to import numarray numpy extension module

Can anyone help me with this error? I have no older versions of numpy and I installed it using pip, I got nump version 1.13.0 and I am working on Windows 10. Any suggestions?

Traceback (most recent call last):
  File "C:/Users/Asus/PycharmProjects/g/num.py", line 1, in <module>
    import numpy
  File "C:\Users\Asus\AppData\Local\Programs\Python\Python36-32\lib\site-packages\numpy\__init__.py", line 142, in <module>
    from . import add_newdocs
  File "C:\Users\Asus\AppData\Local\Programs\Python\Python36-32\lib\site-packages\numpy\add_newdocs.py", line 13, in <module>
    from numpy.lib import add_newdoc
  File "C:\Users\Asus\AppData\Local\Programs\Python\Python36-32\lib\site-packages\numpy\lib\__init__.py", line 8, in <module>
    from .type_check import *
  File "C:\Users\Asus\AppData\Local\Programs\Python\Python36-32\lib\site-packages\numpy\lib\type_check.py", line 11, in <module>
    import numpy.core.numeric as _nx
  File "C:\Users\Asus\AppData\Local\Programs\Python\Python36-32\lib\site-packages\numpy\core\__init__.py", line 26, in <module>
    raise ImportError(msg)
ImportError: 
Importing the multiarray numpy extension module failed.  Most
likely you are trying to import a failed build of numpy.
If you're working with a numpy git repo, try `git clean -xdf` (removes all
files not under version control).  Otherwise reinstall numpy.

      

Initial error: DLL load failed: The specified procedure could not be found.

+3


source to share


1 answer


You are apparently a victim of issue 9272 . numpy

is built into Python 3.6.1

, but you are using Python 3.6.0

.



Based on the discussion there, you should just switch to Python 3.6.1 to get it working. It looks like they'll build on as well 3.6.0

, but follow this issue to keep track of it.

+3


source







All Articles