在python中导入模块时出错,如何解决?

时间:2019-11-25 17:12:35

标签: python

我正在尝试import中的modulespython,但是当我尝试运行时会发生错误

  

“ ImportError:DLL加载失败:无法指定的模块   找到。”

我该怎么办?

import numpy as np
from scipy.integrate import odeint
import matplotlib.pyplot as plt


PS C:\Users\silvag1\Desktop\Annulus_Detection> & C:/Users/silvag1/AppData/Local/Continuum/anaconda3/python.exe c:/Users/silvag1/Desktop/Programa/t/python.exe c:/Users/silvag1/Desktop/Programa/test.py
Traceback (most recent call last):
  File "c:/Users/silvag1/Desktop/Programa/test.py", line 2, in <module>
    from scipy.integrate import odeint
  File "C:\Users\silvag1\AppData\Local\Continuum\anaconda3\lib\site-packages\scipy\integrate\__init__.py", line 89, in <module>
    from .quadrature import *
  File "C:\Users\silvag1\AppData\Local\Continuum\anaconda3\lib\site-packages\scipy\integrate\quadrature.py", line 10, in <module>
    from scipy.special import roots_legendre
  File "C:\Users\silvag1\AppData\Local\Continuum\anaconda3\lib\site-packages\scipy\special\__init__.py", line 641, in <module>
    from ._ufuncs import *
ImportError: DLL load failed: The specified module could not be found.
PS C:\Users\silvag1\Desktop\Annulus_Detection>

0 个答案:

没有答案