win10+pycharm+anaconda DLL Load Fail
来源:2-7 课程使用环境搭建
Liny77
2019-02-17
C:\Users\ASUS\Anaconda3\python.exe F:/机器学习/first.py
Traceback (most recent call last):
File “C:\Users\ASUS\Anaconda3\lib\site-packages\numpy\core_init_.py”, line 16, in
from . import multiarray
ImportError: DLL load failed: 找不到指定的模块。
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “F:/机器学习/first.py”, line 1, in
import numpy
File “C:\Users\ASUS\Anaconda3\lib\site-packages\numpy_init_.py”, line 142, in
from . import add_newdocs
File “C:\Users\ASUS\Anaconda3\lib\site-packages\numpy\add_newdocs.py”, line 13, in
from numpy.lib import add_newdoc
File “C:\Users\ASUS\Anaconda3\lib\site-packages\numpy\lib_init_.py”, line 8, in
from .type_check import *
File “C:\Users\ASUS\Anaconda3\lib\site-packages\numpy\lib\type_check.py”, line 11, in
import numpy.core.numeric as nx
File “C:\Users\ASUS\Anaconda3\lib\site-packages\numpy\core_init.py”, line 26, in
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: 找不到指定的模块。
Process finished with exit code 1
都是空的,我也不知道什么情况,弄了一天了,
1回答
-
liuyubobobo
2019-02-17
目测你的PyCharm配置没问题,应该是Anaconda和你的Windows系统的兼容性问题,请参考这里:https://coding.imooc.com/learn/questiondetail/99032.html
按顺序试验一下。尤其是最后一步。
加油!:)
022019-02-17
相似问题