Protobuf Compilation Issues

2019-07-21 20:15发布

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条回答
相关推荐>>
2楼-- · 2019-07-21 20:53

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

查看更多
登录 后发表回答