79658351

Date: 2025-06-09 04:29:00
Score: 0.5
Natty:
Report link

Actually, grpcio-tools should be enough. There is nothing wrong with this package, so I guess something was wrong with your conda system. Maybe default python command points to your default system Python in /usr/bin/python or something like that and not Conda? Do which python to validate that.

To validate your command, I created a completely new Docker environment like this and it was able to generate a protobuf binding code:

docker run --rm -it -v "$PWD":/app -w /app python:latest bash
...
pip install grpcio-tools
python -m grpc_tools.protoc --python_out=. --grpc_python_out=. -I .  ./mysuperproto.proto
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Artyom