记录安装scikit_image的过程

scikit-image简写为skimage,基于python脚本语言开发的数字图片处理包。

直接用pip install  scikit-image安装没成功。以下是在centos上通过whl安装:

1、wget https://files.pythonhosted.org/packages/f0/a0/ac16b4591becd360ef232401972ea2cecc419dfc066952596a12f73d97b5/scikit_image-0.19.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

下载whl文件。

2、pip install scikit_image-0.19.0-cp38-cp38-anylinux_2_17_x86_64.manylinux2014_x86_64.whl

出错:

记录安装scikit_image的过程_第1张图片

说文件不是zip文件。用 ls -lh查看了文件大小,发现文件只有3.2k,而实际文件有60.7M。说明下载不全(网络原因)。直接另存重新下载到本地。

3、再次 pip install scikit_image-0.19.0-cp38-cp38-anylinux_2_17_x86_64.manylinux2014_x86_64.whl

出错:

4、从https://www.lfd.uci.edu/~gohlke/pythonlibs/下载:

  • tifffile‑2021.11.2‑py3‑none‑any.whl

 并安装。

5. 再次pip install scikit_image-0.19.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

出错:

ERROR: Could not find a version that satisfies the requirement packaging>=20.0 (from scikit-image) (from versions: none)
ERROR: No matching distribution found for packaging>=20.0

6.从https://www.lfd.uci.edu/~gohlke/pythonlibs/ 下载:

  • packaging‑21.3‑py3‑none‑any.whl

安装。

7.再次pip install scikit_image-0.19.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

出错:

ERROR: Could not find a version that satisfies the requirement PyWavelets>=1.1.1 (from scikit-image) (from versions: none)
ERROR: No matching distribution found for PyWavelets>=1.1.1
8、从PyWavelets · PyPI 下载:PyWavelets-1.2.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl (6.3 MB) 安装。

9.再次安装scikit_image成功!

记录安装scikit_image的过程_第2张图片

 

你可能感兴趣的:(深度学习,pytorch,tensorflow)