caffe安裝中python下運行缺少的模塊


1. ImportError: No module named Cython.Distutils

sudo apt-get install Cython  

2.ImportError: No module named easydict

 pip install easydict  

也可以下載easydict,之后解壓,python setup.py install

3.ImportError: No module named cv2

apt-get install python-opencv

4.ImportError: No module named yaml

apt-get install python-yaml 

5.ImportError: No module named skimage.io 

apt-get install python-skimage

6. ImportError: No module named skimage.io

pip install -U scikit-image

7:ImportError:  No module named scipy

pip install scipy

8:ImportError:  No module named google.protobuf.internal

easy_install protobuf

9:libdc1394 error: Failed to initialize libdc1394

sudo apt-get install libdc1394-22-dev libdc1394-22 libdc1394-utils

ln -s /dev/null /dev/raw1394


注意!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系我们删除。



 
粤ICP备14056181号  © 2014-2021 ITdaan.com