Protobuf Compilation Issues

故事扮演 提交于 2019-12-12 18:33:28

问题


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:


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



来源:https://stackoverflow.com/questions/46084375/protobuf-compilation-issues

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!