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

ModuleNotFoundError: No module named 'gogoproto' #2149

Closed
triThirty opened this issue Nov 10, 2021 · 1 comment
Closed

ModuleNotFoundError: No module named 'gogoproto' #2149

triThirty opened this issue Nov 10, 2021 · 1 comment

Comments

@triThirty
Copy link

Bug description
When I run from mcp_pb2 import RequestResources under python/istio_api/mcp/v1alpha1 directory, I got ModuleNotFoundError: No module named 'gogoproto'

Affected product area (please put an X in all that apply)

[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ X] Test and Release
[ ] User Experience

Expected behavior
Can import RequestResources correctly.
Steps to reproduce the bug

$ cd python/istio_api/mcp/v1alpha1
$ python
Python 3.8.9 (default, Aug  3 2021, 19:21:54)
[Clang 13.0.0 (clang-1300.0.29.3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from mcp_pb2 import RequestResources
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/I548273/code/test/gRPC/api/python/istio_api/mcp/v1alpha1/mcp_pb2.py", line 15, in <module>
    from gogoproto import gogo_pb2 as gogoproto_dot_gogo__pb2
ModuleNotFoundError: No module named 'gogoproto'

Version (include the output of istioctl version --remote and kubectl version)
It's master branch

@howardjohn
Copy link
Member

This code is removed

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

No branches or pull requests

3 participants