ubuntu下安装skimage

1.安装必须的依赖

$ sudo apt-get install python-numpy
$ sudo apt-get install python-scipy
$ sudo apt-get install python-matplotlib

(注意!numpy可能之前在一些包安装的时候安装过了,此时便会重复下载,所以需要删除到只剩下一个numpy,否则skimage不能正常安装)

python
import numpy
print(numpy.__version__)

查看numpy版本,即使有多个版本,也只会显示其中一个
卸载多余的numpy

pip uninstall numpy

再次查看numpy版本,确保有且只有一个

2.安装python-skimage

$ sudo pip install scikit-image

就ok辣

猜你喜欢

转载自blog.csdn.net/qq_40710634/article/details/86546653