您的位置:首页 > 编程语言 > Python开发

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

2018-01-25 15:55 3427 查看
第一种可能是没有安装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


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

pip install scikit-image --upgrade
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐