scipy的使用过程bug调试
Posted luckyplj
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了scipy的使用过程bug调试相关的知识,希望对你有一定的参考价值。
C:SoftApplicationAnaconda3python.exe E:/pycharmprojects/test03/test01.py Traceback (most recent call last): File "E:/pycharmprojects/test03/test01.py", line 2, in <module> from scipy.integrate import quad,dblquad,nquad File "C:SoftApplicationAnaconda3libsite-packagesscipyintegrate\\__init__.py", line 95, in <module> from ._bvp import solve_bvp File "C:SoftApplicationAnaconda3libsite-packagesscipyintegrate\\_bvp.py", line 10, in <module> from scipy.sparse.linalg import splu File "C:SoftApplicationAnaconda3libsite-packagesscipysparselinalg\\__init__.py", line 116, in <module> from .eigen import * File "C:SoftApplicationAnaconda3libsite-packagesscipysparselinalgeigen\\__init__.py", line 11, in <module> from .arpack import * File "C:SoftApplicationAnaconda3libsite-packagesscipysparselinalgeigenarpack\\__init__.py", line 22, in <module> from .arpack import * File "C:SoftApplicationAnaconda3libsite-packagesscipysparselinalgeigenarpackarpack.py", line 45, in <module> from . import _arpack ImportError: DLL load failed: 找不到指定的程序。
无法使用scipy包。
解决方法:在external library中找到对应的acpack,py文件
将下图中蓝色这行注释掉:
以上是关于scipy的使用过程bug调试的主要内容,如果未能解决你的问题,请参考以下文章