两行脚本安装scikit-image及所有依赖第三方包
安装环境:

安装步骤
* 安装scikit-image,运行命令:
pip install scikit-image

* 安装依赖的第三方包
1. 创建所有第三方依赖包的列表,及版本号文件(requirements.txt),内容如下:
numpy>=1.11
scipy>=0.17.0
matplotlib>=2.0.0,!=3.0.0
networkx>=2.0
pillow>=4.3.0
imageio>=2.0.1
PyWavelets>=0.4.0
pytest!=3.7.3
pytest-cov
flake8
codecov

2. 把该txt文件粘贴到执行command命令的文件夹下,比如:

3.在该目录下运行命令:
pip install -r requirements.txt

验证安装
运行skimage官方例子脚本:

完成目标(安装)很容易,但过程才是解决未知问题的钥匙。分享下笔者的经历绕坑笔记 之 scikit-image安装
网友评论