gpt4 book ai didi

python - 从 scipy.linalg 导入 _fblas : ImportError: DLL load failed: The specified module could not be found

转载 作者:行者123 更新时间:2023-12-04 00:25:42 36 4
gpt4 key购买 nike

我对我的 Anaconda 安装进行了一些更改(我刚刚卸载了之前的安装,并安装了更新的版本)。现在尝试运行我的代码,只需导入以下内容:

from skimage.measure import compare_ssim

但它显示了这个错误。我该如何解决?所有的搜索都没有帮助。当我在 Anaconda Prompt 上进行此导入时,它不会提示。但是当我在 Eclipse 上运行它时,它会显示这个错误。

Traceback (most recent call last):
File "C:\Users\user\eclipse-workspace\project\hybrid.py", line 18, in <module>
from skimage.measure import compare_ssim
File "C:\Users\user\AppData\Local\Continuum\anaconda3\lib\site-packages\skimage\__init__.py", line 176, in <module>
from .util.lookfor import lookfor
File "C:\Users\user\AppData\Local\Continuum\anaconda3\lib\site-packages\skimage\util\__init__.py", line 12, in <module>
from ._montage import montage, montage2d
File "C:\Users\user\AppData\Local\Continuum\anaconda3\lib\site-packages\skimage\util\_montage.py", line 2, in <module>
from .. import exposure
File "C:\Users\user\AppData\Local\Continuum\anaconda3\lib\site-packages\skimage\exposure\__init__.py", line 1, in <module>
from .exposure import histogram, equalize_hist, \
File "C:\Users\user\AppData\Local\Continuum\anaconda3\lib\site-packages\skimage\exposure\exposure.py", line 4, in <module>
from ..color import rgb2gray
File "C:\Users\user\AppData\Local\Continuum\anaconda3\lib\site-packages\skimage\color\__init__.py", line 1, in <module>
from .colorconv import (convert_colorspace,
File "C:\Users\user\AppData\Local\Continuum\anaconda3\lib\site-packages\skimage\color\colorconv.py", line 59, in <module>
from scipy import linalg
File "C:\Users\user\AppData\Local\Continuum\anaconda3\lib\site-packages\scipy\linalg\__init__.py", line 190, in <module>
from .misc import *
File "C:\Users\user\AppData\Local\Continuum\anaconda3\lib\site-packages\scipy\linalg\misc.py", line 5, in <module>
from .blas import get_blas_funcs
File "C:\Users\user\AppData\Local\Continuum\anaconda3\lib\site-packages\scipy\linalg\blas.py", line 214, in <module>
from scipy.linalg import _fblas
ImportError: DLL load failed: The specified module could not be found.

最佳答案

here 卸载并重新安装 Numpy+mkl固定的,在我的情况下。

我的错误来自于 from scipy import signal。但它给出了与你相同的错误:“from scipy.linalg import _fblas: ImportError: DLL load failed: 找不到指定的模块”

关于python - 从 scipy.linalg 导入 _fblas : ImportError: DLL load failed: The specified module could not be found,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57120965/

36 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com