问题描述
我正在尝试使用 anaconda 和 python 安装用于对象检测的 tensorflow,我需要将 protoc 用于某些东西,但是在尝试运行命令 protoc \object_detection/protos/*.proto --python_out=.
时不断收到错误,但我不断收到错误
protoc The term protoc is not recognized as the name of a cmdlet,function,script file,or operable program.
Check the spelling of the name,or if a path was included,verify that the path is correct and try again.
At line:1 char:1
+ protoc \object_detection/protos/*.proto --python_out=.
+ ~~~~~~
+ CategoryInfo : ObjectNotFound: (protoc:String) [],CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Suggestion [3,General]: The command protoc was not found,but does exist in the current location.
Windows PowerShell does not load commands from the current location by default. If you trust this command,instead type: .\protoc. See "get-help about_Command_Precedence" for more details.
我已经尝试过使用 ``` '.\protoc' 就像 anaconda 建议的那样,但仍然一无所获,有人知道为什么这样做吗?我有最新版本的 anacond usinf python 3.7 和 protoc 3.14
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)