[英]“Could not find protoc command. Make sure protobuf is installed and your PATH environment is set”
I am trying install imposm.parser library on python. 我正在尝试在python上安装imposm.parser库。
After I typed - pip install imposm.parser
, it said it could not find protoc command. 输入pip install imposm.parser
,它说找不到protoc命令。
but I have already got protobuf 2.6.1 library installed on python!? 但是我已经在python上安装了protobuf 2.6.1库!? I don't understand. 我不明白
Thanks Andrew 谢谢安德鲁
You need to download Protocol Compiler separately from Protocol Buffers library. 您需要从协议缓冲区库中单独下载协议编译器。 Get it from Google Developers Protocol Buffers Download page. 从Google Developers Protocol Buffers下载页面获取。
Most executables of python installed using pip (or easy install) are stored in the Scripts
-subfolder of Python. 使用pip(或简易安装)安装的python的大多数可执行文件存储在Python的Scripts
夹中。 In my case, this is C:\\Python27\\Scripts
. 就我而言,这是C:\\Python27\\Scripts
。
You should check, if your PATH-Environment containts that directory. 您应该检查PATH环境是否包含该目录。 Further information are already on this SO-question . 有关此SO问题的更多信息已经在 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.