我想在pycharm中导入NumPy来练习数组,但是我收到了这个错误消息,我创建的代码是...
from Numpy import
arr = linspace(0, 16, 16)
print(arr)
E:\Anaconda\python.exe "C:/Users/Kenny T Mule Jnr/Desktop/try3.py"
Traceback (most recent call last):
File "C:/Users/Kenny T Mule Jnr/Desktop/try3.py", line 1, in <module>
from numpy import *
File "E:\Anaconda\lib\site-packages\numpy\__init__.py", line 140, in <module>
from . import _distributor_init
File "E:\Anaconda\lib\site-packages\numpy\_distributor_init.py", line 34, in <module>
from . import _mklinit
ImportError: DLL load failed: The specified module could not be found.
1条答案
按热度按时间h7appiyu1#
尝试重新安装numpy:
它解决了我的情况下同样的问题。