最近在使用notebook调用caffe,当使用import caffe时,报错:can not find module skimage.io

主要我用以下命令安装的notebook

sudo apt-get install ipython
sudo apt-get install ipython-notebook
导致缺少了很多包,需要使用以下命令进行安装相应的包:

$ sudo apt-get install python-numpy python-scipy python-matplotlib python-sklearn python-skimage python-h5py python-protobuf python-leveldb python-networkx python-nose python-pandas python-gflags Cython ipython 

安装完成即可!

Logo

CSDN联合极客时间,共同打造面向开发者的精品内容学习社区,助力成长!

更多推荐