python - ImportError: DLL load failed when importing Numpy installed in conda virtual environment -


in windows, created conda virtual environment command

conda create -n test python=2.7 pandas scipy matplotlib numpy 

once created, activated virtual environment , went python interpreter. when trying import numpy, following error:

>>> import numpy traceback (most recent call last):   file "<stdin>", line 1, in <module>   file "c:\anaconda3\envs\test\lib\site-packages\numpy\__init__.py", line 180, in <module>     . import add_newdocs   file "c:\anaconda3\envs\test\lib\site-packages\numpy\add_newdocs.py", line 13, in <module>     numpy.lib import add_newdoc   file "c:\anaconda3\envs\test\lib\site-packages\numpy\lib\__init__.py", line 8,  in <module>     .type_check import *   file "c:\anaconda3\envs\test\lib\site-packages\numpy\lib\type_check.py", line 11, in <module>     import numpy.core.numeric _nx   file "c:\anaconda3\envs\test\lib\site-packages\numpy\core\__init__.py", line 14, in <module>     . import multiarray importerror: dll load failed: specified module not found. 

any ideas going on here? thanks!

unlike @rafael, me, libiomp5md.dll wasn't issue. installed dependency walker investigate going on. though dll versions different, dependency walker said okay.

what wrong though, mkl_intel_thread.dll had warnings (red icon). if you're using win 8++, ignore api-win , ext-ms issues dependency walker wasn't updated new windows versions , doesn't recognise windows new apis.

my solution copy mkl_*.dlls former latter:

  • \anaconda2\library\bin
  • \anaconda2\lib\site-packages\numpy\core

i able import numpy , sklearn after that.


Comments

Popular posts from this blog

html - Styling progress bar with inline style -

java - Oracle Sql developer error: could not install some modules -

How to use autoclose brackets in Jupyter notebook? -