码迷,mamicode.com
首页 > 其他好文 > 详细

scipy的使用过程bug调试

时间:2020-04-05 20:40:07      阅读:120      评论:0      收藏:0      [点我收藏+]

标签:arm   png   load   har   info   sof   init   inf   style   

C:\SoftApplication\Anaconda3\python.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:\SoftApplication\Anaconda3\lib\site-packages\scipy\integrate\__init__.py", line 95, in <module>
    from ._bvp import solve_bvp
  File "C:\SoftApplication\Anaconda3\lib\site-packages\scipy\integrate\_bvp.py", line 10, in <module>
    from scipy.sparse.linalg import splu
  File "C:\SoftApplication\Anaconda3\lib\site-packages\scipy\sparse\linalg\__init__.py", line 116, in <module>
    from .eigen import *
  File "C:\SoftApplication\Anaconda3\lib\site-packages\scipy\sparse\linalg\eigen\__init__.py", line 11, in <module>
    from .arpack import *
  File "C:\SoftApplication\Anaconda3\lib\site-packages\scipy\sparse\linalg\eigen\arpack\__init__.py", line 22, in <module>
    from .arpack import *
  File "C:\SoftApplication\Anaconda3\lib\site-packages\scipy\sparse\linalg\eigen\arpack\arpack.py", line 45, in <module>
    from . import _arpack
ImportError: DLL load failed: 找不到指定的程序。

无法使用scipy包。

解决方法:在external library中找到对应的acpack,py文件

技术图片

技术图片

将下图中蓝色这行注释掉:

技术图片

scipy的使用过程bug调试

标签:arm   png   load   har   info   sof   init   inf   style   

原文地址:https://www.cnblogs.com/luckyplj/p/12638687.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!