我正在尝试使用OpenCV和scikit-image模块计算图像差异。我使用了以下导入
import argparse
from skimage.measure import compare_ssim
import imutils
import cv2
我收到此错误消息
Traceback (most recent call last):
File "image_diff.py", line 5, in <module>
from skimage.measure import compare_ssim
File "C:\Python27\lib\site-packages\skimage\measure\__init__.py", line 3, in <
module>
from ._marching_cubes_classic import (marching_cubes_classic,
File "C:\Python27\lib\site-packages\skimage\measure\_marching_cubes_classic.py
", line 2, in <module>
import scipy.ndimage as ndi
File "C:\Python27\lib\site-packages\scipy\ndimage\__init__.py", line 161, in <
module>
from .filters import *
File "C:\Python27\lib\site-packages\scipy\ndimage\filters.py", line 37, in <mo
dule>
from scipy.misc import doccer
File "C:\Python27\lib\site-packages\scipy\misc\__init__.py", line 67, in <modu
le>
from scipy.interpolate._pade import pade as _pade
File "C:\Python27\lib\site-packages\scipy\interpolate\__init__.py", line 175,
in <module>
from .interpolate import *
File "C:\Python27\lib\site-packages\scipy\interpolate\interpolate.py", line 20
, in <module>
import scipy.linalg
File "C:\Python27\lib\site-packages\scipy\linalg\__init__.py", line 186, in <m
odule>
from .misc import *
File "C:\Python27\lib\site-packages\scipy\linalg\misc.py", line 5, in <module>
from .blas import get_blas_funcs
File "C:\Python27\lib\site-packages\scipy\linalg\blas.py", line 196, in <modul
e>
from scipy.linalg import _fblas
ImportError: DLL load failed: The specified module could not be found.
Python版本是2.7.14窗口。我尝试卸载并再次安装scikit-image模块。仍然,问题没有解决。 scikit-image版本使用的是0.13.1