我将在 Windows 10 (python 3.7.2) 上安装 protoc
pip install protoc <br/>
ERROR: Could not find a version that satisfies the requirement protoc<br/>
ERROR: No matching distribution found for protoc <br/>
我该怎么办?有人可以帮我吗?
答案 0 :(得分:0)
您需要使用命令 protobuf
安装 pip install protobuf
,protoc
只是一个使用 protobuf
的工具
答案 1 :(得分:0)
除了其他答案之外,我认为您需要安装 gcpio-tools
才能通过 protoc
实际安装 pip
可执行文件。要运行已安装的 pip
,您必须使用 python -m grpc.tools.protoc ...
作为命令。
您也可以从 Protocol Buffers download page 安装 protoc.exe
。