本文共 699 字,大约阅读时间需要 2 分钟。
ImportError: No module named functools_lru_cache
sudo pip uninstall backports.functools_lru_cachesudo pip install backports.functools_lru_cache
ImportError: No module named sklearn
sudo pip install sklearn
无法定位软件包 libjasper-dev
sudo add-apt-repository "deb http://security.ubuntu.com/ubuntu xenial-security main"sudo apt updatesudo apt install libjasper1 libjasper-dev
安装opencv
https://blog.csdn.net/lgh0824/article/details/78487234
import caffe 报错:No module named skimage.io
pip install scikit-image
import protobuf的时候,ImportError: No module named protobuf当直接import caffe的时候,报的是ImportError: No module named google.protobuf
首先使用pip install protobuf 将protobuf更新到最新然后使用import google.protobuf引用protobuf