【问题标题】:Python package dependency is causing an errorPython包依赖导致错误
【发布时间】:2020-03-18 18:24:20
【问题描述】:

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 新手)

【问题讨论】:

标签: python dll filepath python-packaging


【解决方案1】:

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

您是否在他们的网站上安装了包含所有提到的依赖项的 scypy?

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

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

【讨论】:

  • 没有解决问题,感谢您的建议!
【解决方案2】:

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

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2015-10-03
    • 2019-12-05
    • 2013-03-18
    • 1970-01-01
    • 1970-01-01
    • 2019-01-24
    • 2012-11-22
    相关资源
    最近更新 更多