Scipy和Skimage安装问题

时间:2016-12-21 20:08:15

标签: python-2.7 scipy scikit-image

我在64位窗口,使用Python 2.7。当我输入“来自scipy导入信号”和“来自skimage导入过滤器”时,我得到了以下DLL并且无法分别导入sigtools错误消息(见下文)。

我卸载了numpy,scipy,sckit-image和Pillow,然后重新安装了以下内容。但错误仍然存​​在。有人知道如何解决它吗?

1)numpy-1.11.3 + mkl-cp27-cp27m-win_amd64.whl 2)scikit_image-0.12.3-cp27-cp27m-win_amd64.whl 3)scipy-0.18.1-cp27-cp27m-win_amd64.whl 4)Pillow-3.4.2-cp27-cp27m-win_amd64.whl

错误消息从此处开始:

from scipy import signal Traceback (most recent call last):

  File "<ipython-input-9-c14ca79fb68c>", line 1, in <module>
    from scipy import signal

  File "C:\Users\Anaconda\lib\site-packages\scipy\signal\__init__.py", line 286, in <module>
    from ._max_len_seq import max_len_seq

ImportError: DLL load failed: %1 is not a valid Win32 application.

from skimage import filters Traceback (most recent call last):

  File "<ipython-input-10-044505a8e654>", line 1, in <module>
    from skimage import filters

  File "C:\Users\Anaconda\lib\site-packages\skimage\filters\__init__.py", line 3, in <module>
    from .edges import (sobel, hsobel, vsobel, sobel_h, sobel_v,

  File "C:\Users\Anaconda\lib\site-packages\skimage\filters\edges.py", line 17, in <module>
    from ..restoration.uft import laplacian

  File "C:\Users\Anaconda\lib\site-packages\skimage\restoration\__init__.py", line 21, in <module>
    from .deconvolution import wiener, unsupervised_wiener, richardson_lucy

  File "C:\Users\Anaconda\lib\site-packages\skimage\restoration\deconvolution.py", line 10, in <module>
    from scipy.signal import fftconvolve, convolve

  File "C:\Users\Anaconda\lib\site-packages\scipy\signal\__init__.py", line 284, in <module>
    from . import sigtools

ImportError: cannot import name sigtools

1 个答案:

答案 0 :(得分:0)

尝试使用here中的whl个文件

搜索您的模块下载它们,然后

pip install <drag your whl file here>