【问题标题】:How to download scikit-image 0.13.1 in Pycharm?如何在 Pycharm 中下载 scikit-image 0.13.1?
【发布时间】:2021-04-10 16:29:53
【问题描述】:

我尝试下载这个版本

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'

【问题讨论】:

    标签: python magento pip pycharm scikit-image


    【解决方案1】:

    对于最新的兼容版本:

    python -m pip install -U scikit-image
    

    【讨论】:

    • 您的答案可以通过额外的支持信息得到改进。请edit 添加更多详细信息,例如引用或文档,以便其他人可以确认您的答案是正确的。你可以找到更多关于如何写好答案的信息in the help center
    【解决方案2】:

    here 可以看到 scikit-image 0.13.1 不支持 python3.8。

    所以你需要降级你的python版本或者升级scikit-image版本。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2017-04-21
      • 2020-09-18
      • 2019-09-12
      • 2021-04-05
      • 2018-08-03
      • 2015-03-21
      • 1970-01-01
      相关资源
      最近更新 更多