【发布时间】:2019-10-04 07:34:42
【问题描述】:
我正在尝试通过执行命令将库编译到特定文件夹中:
"protoc object_detection/protos/*.proto --python_out=."
文件夹内。
在命令提示符中,在我要调用命令的确切位置,我收到一个错误:
"C:\Users\david\AppData\Local\Programs\Python\Python37\TFLibraries/protoc is not recognized as an internal or external command, operable program or batch file."
我的输入是:
"C:\Users\david\AppData\Local\Programs\Python\Python37\TFLibraries/protoc object_detection/protos/*.proto --python_out=."
现在我知道这被认为是一个非常基本的问题,但我是初学者,对操作系统或命令提示符没有很好的理解。只要命令行中有空格,就会发生错误。现在我看到很多人表示进入您的系统属性并编辑您的系统变量,但我不明白编辑新路径会解决这个问题。
任何帮助将不胜感激。
谢谢
【问题讨论】:
标签: command-prompt