简体   繁体   中英

protoc can't be installed : not find a version that satisfies the requirement protoc

i will install protoc on windows 10 (python 3.7.2)

pip install protoc <br/>
ERROR: Could not find a version that satisfies the requirement protoc<br/>
ERROR: No matching distribution found for protoc <br/>

what should i do? anybody can help me?

You need to install protobuf with the command pip install protobuf , protoc is just a tool that uses protobuf

In addition to the other answer, I think you need to install gcpio-tools to actually get protoc executable installed through pip . To run the pip installed one, you have to use python -m grpc.tools.protoc... as command.

You can also install protoc.exe from Protocol Buffers download page .

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