简体   繁体   中英

“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.

After I typed - pip install imposm.parser , it said it could not find protoc command.

but I have already got protobuf 2.6.1 library installed on python!? 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.

Most executables of python installed using pip (or easy install) are stored in the Scripts -subfolder of Python. In my case, this is C:\\Python27\\Scripts .

You should check, if your PATH-Environment containts that directory. Further information are already on this SO-question .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM