caffe 安装 无法import caffe

  1. 按照下面的步骤进行就好了,一般原因是,一些库的版本不匹配,如numpy
  2. sudo apt-get install python-numpy python-scipy python-matplotlib python-sklearn python-skimage
  3. python-h5py python-protobuf python-leveldb python-networkx python-nose python-pandas python-gflags
  4. Cython ipython
  5. 2)sudo apt-get update
  6. 3)切换到caffe目录下,执行:
  7. python
  8.              import caffe
  9.    如果没有什么问题的话,就算成功了

猜你喜欢

转载自blog.csdn.net/qq_15505637/article/details/80900059