【问题标题】:protoc can't be installed : not find a version that satisfies the requirement protoc无法安装protoc:找不到满足protoc要求的版本
【发布时间】:2021-04-17 08:06:40
【问题描述】:
我将在 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/>
我该怎么办?有人可以帮帮我吗?
【问题讨论】:
标签:
protocol-buffers
object-detection-api
protoc
tensorflow1.15
【解决方案1】:
你需要用命令pip install protobuf安装protobuf,protoc只是一个使用protobuf的工具
【解决方案2】:
除了其他答案,我认为您需要安装gcpio-tools 才能通过pip 实际安装protoc 可执行文件。要运行已安装的pip,您必须使用python -m grpc.tools.protoc ... 作为命令。
您也可以从Protocol Buffers download page 安装protoc.exe。