grpc.io icon indicating copy to clipboard operation
grpc.io copied to clipboard

Website issue

Open ondrej-ivanko opened this issue 3 years ago • 3 comments

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

ondrej-ivanko avatar May 23 '21 18:05 ondrej-ivanko

@gnossen do you know about this?

dfawley avatar Jun 30 '21 17:06 dfawley

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 avatar Jul 07 '21 16:07 gnossen

@gnossen, the python quickstart lives at https://github.com/grpc/grpc.io/blob/main/content/en/docs/languages/python/quickstart.md

ejona86 avatar Jun 22 '22 18:06 ejona86