查看: 1733|回复: 0

ubuntu下运行Python程序出现ImportError: No module named skimage

[复制链接]

38

主题

84

帖子

243

积分

中级会员

Rank: 3Rank: 3

积分
243
发表于 2019-2-8 13:31:06 | 显示全部楼层 |阅读模式
第一种可能是没有安装skimage或者部分依赖库没有安装:

python-skimage包依赖于matplotlib,scipy,pil,numpy和six。

首先安装依赖包:

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

sudo apt-get install build-essential cython

安装skimage包:

sudo apt-get install python-skimage

pip3 install scikit-image


第二种可能是skimage版本需更新:

pip install scikit-image --upgrade


回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表