- 按照下面的步骤进行就好了,一般原因是,一些库的版本不匹配,如numpy
- 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
- 2)sudo apt-get update
- 3)切换到caffe目录下,执行:
- python
- import caffe
- 如果没有什么问题的话,就算成功了
caffe 安装 无法import caffe
最新推荐文章于 2022-01-04 18:33:03 发布