找不到DLL加载错误指定的模块

时间:2019-05-08 23:10:32

标签: python numpy anaconda

我使用Anaconda安装了numpytensorflow。但是,无论何时我尝试导入任何一个,我都会收到一条错误消息:dll load failed

我已经在VSCode和PyCharm上尝试过。我还尝试重新安装所有内容。我尝试将Anaconda给出的长路径复制到我的系统环境变量中,但是似乎没有任何效果,而且我一直在获取:

Traceback (most recent call last):  
    File "c:/Users/AYERHAN MSUGHTER/Desktop/Anaconda 3/test.py", line 1, in <module>    
        import numpy as np  
    File "C:\Users\AYERHAN MSUGHTER\AppData\Local\conda\conda\envs\machinenv\lib\site-packages\numpy\__init__.py", line 140, in <module>
        from . import _distributor_init  
    File "C:\Users\AYERHAN MSUGHTER\AppData\Local\conda\conda\envs\machinenv\lib\site-packages\numpy\_distributor_init.py", line 34, in <module>
        from . import _mklinitImportError: DLL load failed: The specified module could not be found.
PS C:\Users\AYERHAN MSUGHTER\Desktop\Anaconda 3>

0 个答案:

没有答案