Python软件包依赖关系导致错误

时间:2019-11-22 16:35:54

标签: python dll filepath python-packaging

Python中Scipy软件包中的文件夹Python37\site-packages\scipy\sparse\linalg\isolve\具有以下文件:_iterative.cp37-win_amd64.pyd

运行Python文件时,出现以下错误:-
File "C:\......\Python37\site-packages\scipy\sparse\linalg\isolve\iterative.py", line 10, in <module> from . import _iterative ImportError: DLL load failed: The specified module could not be found

(我是Windows上的Python新手)

2 个答案:

答案 0 :(得分:0)

由于缺乏声誉,我无法发表评论:

您在他们的网站上安装了带有所有上述依赖项的scypy吗?

python -m pip install --user numpy scipy matplotlib ipython jupyter pandas sympy nose

(取自https://www.scipy.org/install.html

答案 1 :(得分:0)

这是解决问题的方法(在Windows上):-
1.我使用python.exe程序卸载了Python。
2.安装了适用于Windows的anaconda-它安装了python以及相关性和许多常见的库。