Your install of scikit-image appears to be broken.

Traceback (most recent call last):
  File "D:/pytorch/mwcnn_pytorch/main_train.py", line 42, in <module>
    from skimage.measure import compare_psnr, compare_ssim
  File "C:\ProgramData\Anaconda3\lib\site-packages\skimage\__init__.py", line 156, in <module>
    _raise_build_error(e)
  File "C:\ProgramData\Anaconda3\lib\site-packages\skimage\__init__.py", line 137, in _raise_build_error
    %s""" % (e, msg))
ImportError: cannot import name 'geometry'
It seems that scikit-image has not been built correctly.

Your install of scikit-image appears to be broken.
Try re-installing the package following the instructions at:
http://scikit-image.org/docs/stable/install.html 

 

 

 

pip uninstall scikit-image

 

https://www.lfd.uci.edu/~gohlke/pythonlibs/

 

  • scikit_image‑0.14.1‑cp36‑cp36m‑win_amd64.whl

pip install scikit_image‑0.14.1‑cp36‑cp36m‑win_amd64.whl

Traceback (most recent call last):
  File "D:/pytorch/mwcnn_pytorch/main_train.py", line 42, in <module>
    from skimage.measure import compare_psnr, compare_ssim
  File "C:\ProgramData\Anaconda3\lib\site-packages\skimage\__init__.py", line 177, in <module>
    from .data import data_dir
  File "C:\ProgramData\Anaconda3\lib\site-packages\skimage\data\__init__.py", line 18, in <module>
    from ._binary_blobs import binary_blobs
  File "C:\ProgramData\Anaconda3\lib\site-packages\skimage\data\_binary_blobs.py", line 2, in <module>
    from ..filters import gaussian
  File "C:\ProgramData\Anaconda3\lib\site-packages\skimage\filters\__init__.py", line 3, in <module>
    from .edges import (sobel, sobel_h, sobel_v,
  File "C:\ProgramData\Anaconda3\lib\site-packages\skimage\filters\edges.py", line 17, in <module>
    from ..restoration.uft import laplacian
  File "C:\ProgramData\Anaconda3\lib\site-packages\skimage\restoration\__init__.py", line 6, in <module>
    from .deconvolution import wiener, unsupervised_wiener, richardson_lucy
  File "C:\ProgramData\Anaconda3\lib\site-packages\skimage\restoration\deconvolution.py", line 10, in <module>
    from scipy.signal import fftconvolve, convolve
  File "C:\ProgramData\Anaconda3\lib\site-packages\scipy\signal\__init__.py", line 322, in <module>
    from .filter_design import *
  File "C:\ProgramData\Anaconda3\lib\site-packages\scipy\signal\filter_design.py", line 18, in <module>
    from scipy import special, optimize, fftpack
  File "C:\ProgramData\Anaconda3\lib\site-packages\scipy\optimize\__init__.py", line 387, in <module>
    from ._minimize import *
  File "C:\ProgramData\Anaconda3\lib\site-packages\scipy\optimize\_minimize.py", line 30, in <module>
    from ._trustregion_constr import _minimize_trustregion_constr
  File "C:\ProgramData\Anaconda3\lib\site-packages\scipy\optimize\_trustregion_constr\__init__.py", line 4, in <module>
    from .minimize_trustregion_constr import _minimize_trustregion_constr
  File "C:\ProgramData\Anaconda3\lib\site-packages\scipy\optimize\_trustregion_constr\minimize_trustregion_constr.py", line 4, in <module>
    from scipy.sparse.linalg import LinearOperator
  File "C:\ProgramData\Anaconda3\lib\site-packages\scipy\sparse\linalg\__init__.py", line 117, in <module>
    from .eigen import *
  File "C:\ProgramData\Anaconda3\lib\site-packages\scipy\sparse\linalg\eigen\__init__.py", line 11, in <module>
    from .arpack import *
  File "C:\ProgramData\Anaconda3\lib\site-packages\scipy\sparse\linalg\eigen\arpack\__init__.py", line 22, in <module>
    from .arpack import *
  File "C:\ProgramData\Anaconda3\lib\site-packages\scipy\sparse\linalg\eigen\arpack\arpack.py", line 45, in <module>
    from . import _arpack
ImportError: DLL load failed: 找不到指定的程序。

Process finished with exit code 1
 

 

 

©️2020 CSDN 皮肤主题: 大白 设计师:CSDN官方博客 返回首页