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


按顺序试验一下。尤其是最后一步。


加油!:)

0
2
liuyubobobo
回复
Liny77
嗯嗯。因为这个错误和numpy相关。我知道很多同学尝试单独在anaconda控制台下载一遍Numpy再安装以后就好了:)
2019-02-17
共2条回复

Python3入门机器学习 经典算法与应用  

Python3+sklearn,兼顾原理、算法底层实现和框架使用。

5839 学习 · 2437 问题

查看课程