简体   繁体   English

“找不到协议命令。 确保已安装protobuf并设置了PATH环境”

[英]“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.

相关问题 PyGears 错误:找不到系统 libbz2 标头。 确保您的系统安装了 libz - PyGears Error: No system libbz2 headers could be found. Make sure your system has a libz installed 找不到 `protoc` 命令 - Cannot find `protoc` command 错误:virtualenvwrapper 在您的路径中找不到 virtualenv - ERROR: virtualenvwrapper could not find virtualenv in your path ImportError:无法加载共享库,请确保已安装librtmp - ImportError: No shared library could be loaded, make sure that librtmp is installed OSError:找不到 kaggle.json。 确保它位于 C:\Users\Lior\.kaggle 中。 或者使用环境方法 - OSError: Could not find kaggle.json. Make sure it's located in C:\Users\Lior\.kaggle. Or use the environment method “未找到 VBoxManage。确保已安装 VirtualBox,并且 VBoxManage 在路径中” - "VBoxManage not found. Make sure VirtualBox is installed and VBoxManage is in the path" “导入错误:无法导入 Django。您确定它已安装并在您的 PYTHONPATH 环境变量中可用吗?” 在自制软件上 - "ImportError: Couldn't import Django. Are you sure it's installed and available on your PYTHONPATH environment variable?" On homebrew 导入错误:无法导入 Django。 您确定它已安装并在您的 PYTHONPATH 环境变量中可用吗? - ImportError: Couldn't import Django. Are you sure it's installed and available on your PYTHONPATH environment variable? Django 错误 - 无法导入 Django。 您确定它已安装并在您的 PYTHONPATH 环境变量中可用吗? - Django Error - Couldn't import Django. Are you sure it's installed and available on your PYTHONPATH environment variable? Django:找不到带有 label XYZ 的应用程序。 您确定您的 INSTALLED_APPS 设置正确吗? - Django: app with label XYZ could not be found. Are you sure your INSTALLED_APPS setting is correct?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM