首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >protoc :术语“protoc”未被识别为cmdlet、函数、脚本文件或可操作程序的名称

protoc :术语“protoc”未被识别为cmdlet、函数、脚本文件或可操作程序的名称
EN

Stack Overflow用户
提问于 2021-02-13 04:13:18
回答 1查看 151关注 0票数 0

我正在尝试安装tensorflow用于使用anaconda和python进行对象检测,并且我需要使用protoc来做一些事情,但在尝试运行命令protoc \object_detection/protos/*.proto --python_out=.时不断收到错误,但我一直收到错误

代码语言:javascript
运行
复制
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’,但仍然没有结果,有人知道它为什么这样做吗?我有最新版本的anacond usinf python 3.7和protoc 3.14

EN

回答 1

Stack Overflow用户

发布于 2021-11-12 04:51:14

需要安装protobuf go pkg,请参阅下面的链接:https://developers.google.com/protocol-buffers/docs/gotutorial

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/66178456

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档