wie die Adresse "machen: protoc: Befehl nicht gefunden"

Ich bin der Installation Caffe auf einem CentOS-system, über die ich keine Administratorrechte haben. Wenn ich versuche zu kompilieren, treffe ich die folgende Meldung:

PROTOC src/caffe/proto/caffe.proto
make: protoc: Command not found
make: *** [.build_release/src/caffe/proto/caffe.pb.cc] Error 127

Was ich bisher getan habe ist Folgendes:

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

Wie soll ich diesen Fehler?

InformationsquelleAutor d3pd | 2015-08-21

Schreibe einen Kommentar