我的環境:Win10 64位,Python 3.6和我使用pip安裝來安裝NumPy而不是Anaconda。 NumPy版本:1.13.0導入NumPy給我ImportError:DDL加載失敗:找不到指定的過程?
我見過幾個人發佈了類似的問題,但其中大多數都使用Python 2.7。到目前爲止,我所見過的最接近的解決方案是:https://github.com/ContinuumIO/anaconda-issues/issues/1508和https://github.com/numpy/numpy/issues/9272。但似乎他們最終沒有解決它,發佈它的人使用Python 2.7。因此,我想知道是否有人可以幫助我解決這個問題。我的錯誤日誌如下。任何幫助,將不勝感激。
C:\Users\Kevin>python
Python 3.6.0 (v3.6.0:41df79263a11, Dec 23 2016, 07:18:10) [MSC v.1900 32 bit
(Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
Traceback (most recent call last):
File "D:\Python3.6\lib\site-packages\numpy\core\__init__.py", line 16, in
<module>
from . import multiarray
ImportError: DLL load failed: The specified procedure could not be found.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "D:\Python3.6\lib\site-packages\numpy\__init__.py", line 142, in
<module>
from . import add_newdocs
File "D:\Python3.6\lib\site-packages\numpy\add_newdocs.py", line 13, in
<module>
from numpy.lib import add_newdoc
File "D:\Python3.6\lib\site-packages\numpy\lib\__init__.py", line 8, in
<module>
from .type_check import *
File "D:\Python3.6\lib\site-packages\numpy\lib\type_check.py", line 11, in
<module>
import numpy.core.numeric as _nx
File "D:\Python3.6\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.
Original error was: DLL load failed: The specified procedure could not be
found.
看到的是https:// github.com/numpy/numpy/issues/9272 – cgohlke
@cgohlke是的我看到太大聲了,最後我決定回滾版本 –