mkdir build && cd build

cmake ..

make pycaffe -j4

sudo vim /etc/profile---- export PYTHONPATH=/home/XXX/wsCaffe/caffe/build/install/python:PYTHONPATH

source /etc/profile

ipython

import  caffe

错误1:

缺少 skimage

sudo apt-get install  python-skimage

ipython

import caffe

错误2:

缺少 google.protobuf.internal.

sudo apt-get install  python-protobuf

ipython

import caffe

OK!

 

相关文章:

  • 2022-01-10
  • 2022-02-25
  • 2021-09-28
  • 2021-09-16
  • 2021-05-13
  • 2021-12-15
  • 2022-02-09
  • 2022-01-03
猜你喜欢
  • 2022-12-23
  • 2022-01-01
  • 2021-11-18
  • 2021-11-27
  • 2021-05-17
  • 2021-10-25
  • 2022-12-23
相关资源
相似解决方案