我试图下载这个版本
pip install scikit-image==0.13.1
在python 3.8.1和pip 20.3.3上,但失败,并显示以下错误消息:
Command errored out with exit status 1:
Collecting scikit-image==0.13.1
Using cached scikit-image-0.13.1.tar.gz (26.1 MB)
Requirement already satisfied: six>=1.7.3 in c:\users\wasim\pycharmprojects\pythonproject\lib\site-packages (from scikit-image==0.13.1) (1.15.0)
Requirement already satisfied: networkx>=1.8 in c:\users\wasim\pycharmprojects\pythonproject\lib\site-packages (from scikit-image==0.13.1) (2.5)
Requirement already satisfied: pillow>=2.1.0 in c:\users\wasim\pycharmprojects\pythonproject\lib\site-packages (from scikit-image==0.13.1) (8.1.0)
Requirement already satisfied: PyWavelets>=0.4.0 in c:\users\wasim\pycharmprojects\pythonproject\lib\site-packages (from scikit-image==0.13.1) (1.1.1)
Requirement already satisfied: decorator>=4.3.0 in c:\users\wasim\pycharmprojects\pythonproject\lib\site-packages (from networkx>=1.8->scikit-image==0.13.1) (4.4.2)
Requirement already satisfied: numpy>=1.13.3 in c:\users\wasim\pycharmprojects\pythonproject\lib\site-packages (from PyWavelets>=0.4.0->scikit-image==0.13.1) (1.19.4)
Building wheels for collected packages: scikit-image
Building wheel for scikit-image (setup.py): started
Building wheel for scikit-image (setup.py): finished with status 'error'
Running setup.py clean for scikit-image
Failed to build scikit-image
Installing collected packages: scikit-image
Running setup.py install for scikit-image: started
Running setup.py install for scikit-image: finished with status 'error'
ERROR: Command errored out with exit status 1:
command: 'C:\Users\wasim\PycharmProjects\pythonProject\Scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\wasim\\AppData\\Local\\Temp\\pip-install-igu2ekz7\\scikit-image_8689f1c3cfe0441c98c99d96a183386e\\setup.py'"'"'; __file__='"'"'C:\\Users\\wasim\\AppData\\Local\\Temp\\pip-install-igu2ekz7\\scikit-image_8689f1c3cfe0441c98c99d96a183386e\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\wasim\AppData\Local\Temp\pip-wheel-s45lpfni'
从here可以看到scikit映像0.13.1不支持Python 3.8
因此,您需要降级python版本或升级scikit映像版本
相关问题 更多 >
编程相关推荐