Importing numpy gives me the error:
ImportError: DLL load failed: The specified procedure cold not be found.
Here is the traceback:
Traceback (most recent call last):
File "<ipython-input-4-5a0bd626bb1d>", line 1, in <module>
import numpy
File "C:\...\Anaconda3\lib\site-packages\numpy\__init__.py", line 180, in <module>
from . import add_newdocs
File "C:\...\Anaconda3\lib\site-packages\numpy\add_newdocs.py", line 13, in <module>
from numpy.lib import add_newdoc
File "C:\...\Anaconda3\lib\site-packages\numpy\lib\__init__.py", line 8, in <module>
from .type_check import *
File "C:\...\Anaconda3\lib\site-packages\numpy\lib\type_check.py", line 11, in <module>
import numpy.core.numeric as _nx
File "C:\...\Anaconda3\lib\site-packages\numpy\core\__init__.py", line 14, in <module>
from . import multiarray
This is a fresh install of Anaconda, and I have updated numpy to the latest version. Any ideas what could be going wrong?
Well, I was in the same boat, and I managed to fix it as Rafael Monteiro said but including some other DLLs listed below:
Those in were quite smaller than the ones in Python Library\\bin directory so I assume those didn't have some functions defined, hence the errors while loading numpy.
I'm not sure why were those installed but it was just after a Windows Update followed by a device driver installation.
I do not think the OP would still be interested as the question is a year old but I will leave this here as it will save some time for someone in the future.
For the record, I had the same error here (Python 3.5 64-bit on Windows 10), and this page helped me find the solution. The problem was a conflict with libiomp5md.dll
, which existed on two locations:
Python was trying to use the version in System32 folder, which was an old version. I removed it (renamed) and now it uses the correct version, on Anaconda3 folder, and now I can import numpy without the import error.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.