无法安装 protoc : 找不到满足 protoc 要求的版本

时间:2021-04-17 08:06:40

标签: protocol-buffers object-detection-api protoc tensorflow1.15

我将在 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/>

我该怎么办?有人可以帮我吗?

2 个答案:

答案 0 :(得分:0)

您需要使用命令 protobuf 安装 pip install protobufprotoc 只是一个使用 protobuf 的工具

答案 1 :(得分:0)

除了其他答案之外,我认为您需要安装 gcpio-tools 才能通过 protoc 实际安装 pip 可执行文件。要运行已安装的 pip,您必须使用 python -m grpc.tools.protoc ... 作为命令。

您也可以从 Protocol Buffers download page 安装 protoc.exe