Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

annotations.proto was not found or had errors #1103

Closed
jackwootton opened this issue Sep 10, 2017 · 0 comments
Closed

annotations.proto was not found or had errors #1103

jackwootton opened this issue Sep 10, 2017 · 0 comments

Comments

@jackwootton
Copy link

In which file did you encounter the issue?

python-docs-samples/endpoints/bookstore-grpc/http_bookstore.proto

Did you change the file? If so, how?

No.

Describe the issue

Attempting to compile http_bookstore.proto

python -m grpc.tools.protoc --python_out=generated_pb2 --grpc_python_out=generated_pb2 --proto_path=. http_bookstore.proto

Resulted in the error:

google/api/annotations.proto: File not found.
http_bookstore.proto: Import "google/api/annotations.proto" was not found or had errors

Since this example is cited in the Transcoding HTTP/JSON to gRPC guide, which itself is linked from a README.md in this repo:

python-docs-samples/endpoints/bookstore-grpc/README.md

...I think it's reasonable for this example to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant