Protobuf Compilation Issues

4k views Asked by At

I've been trying to run a TensorFlow library and in order to do that I have to compile Protobuf libraries. I'm using the following command:

C:\tensorflow-master\tensorflow\models>protoc object_detection/protos/*.proto --python_out=.

The following error comes up:

'protoc' is not recognized as an internal or external command,

operable program or batch file.

I'm not sure what the issue is here. I'm running it out of the TensorFlow models directory, but it's still not recognizing protoc.

1

There are 1 answers

1
Salaudeen Abdulrahman On BEST ANSWER

You need to install the Protocols buffer library first.

pip install from your command line as shown below:

pip install protobuf

Then run your protoc command again