protoc :术语“protoc”不被识别为 cmdlet、函数、脚本文件或可运行程序的名称

问题描述

我正在尝试使用 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 (将#修改为@)

相关问答

Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其...
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。...
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbc...