本文共 690 字,大约阅读时间需要 2 分钟。
我在一个CentOS系统上安装了Caffe,我没有管理权限。当我尝试编译,我遇到了以下消息:如何解决“make:protoc:命令未找到”
PROTOC src/caffe/proto/caffe.proto
make: protoc: Command not found
make: *** [.build_release/src/caffe/proto/caffe.pb.cc] Error 127
我迄今所做如下:
cd
git clone https://github.com/BVLC/caffe.git
cd caffe
cp Makefile.config.example Makefile.config
# Uncomment CPU_ONLY := 1.
# Include the following lines:
# INCLUDE_DIRS := $(PYTHON_INCLUDE) /usr/local/include /usr/include/hdf5/serial/
# LIBRARY_DIRS := $(PYTHON_LIB) /usr/local/lib /usr/lib /usr/lib/x86_64-linux-gnu/hdf5/serial
pico Makefile.config
virtualenv caffe
source caffe/bin/activate
pip install protobuf
pip install scikit-image
make all
我应该如何解决这个问题?
2015-08-21
d3pd
转载地址:http://wwqto.baihongyu.com/