grpc.io
grpc.io copied to clipboard
Website issue
Issue description gRPC documentation for running the python quickstart example is missing part where you need to install grpcio-tools and protobuf packages/libraries for the example to be successfully executable.
Steps to reproduce the issue https://www.grpc.io/docs/languages/python/quickstart/
try to run: python greeter_server.py
without protobuf
installed.
lately try to execute this script: $ python -m grpc_tools.protoc -I../../protos --python_out=. --grpc_python_out=. ../../protos/helloworld.proto
@gnossen do you know about this?
I'm not familiar with the quickstart or where the source for it lives, but I can confirm the facts of the OP. We are missing the step where we install the protobuf
package.
As for code generation, this step isn't technically missing, since there are pre-generated files in the directory for simplicity's sake, but if there isn't documentation on how to do this here then we had better add it in anyway.
@gnossen, the python quickstart lives at https://github.com/grpc/grpc.io/blob/main/content/en/docs/languages/python/quickstart.md