任何人都可以帮我解决这个错误吗?我没有任何旧版本的numpy,我使用pip安装它,我得到1.13.0版本的numpy,我在Windows 10操作系统上工作。有什么建议吗?
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.
原始错误是:DLL加载失败:找不到指定的过程。
答案 0 :(得分:3)
显然,你是issue 9272的受害者。 numpy
是针对Python 3.6.1
构建的,但您使用的是Python 3.6.0
。
根据那里的讨论,您应该升级到Python 3.6.1以使其工作。看起来它们似乎也会建立在3.6.0
之上,但是,请按照这个问题来跟踪它。