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 'google.cloud.proto' #320

Open
bshirala opened this issue Aug 22, 2024 · 0 comments
Open

ModuleNotFoundError: No module named 'google.cloud.proto' #320

bshirala opened this issue Aug 22, 2024 · 0 comments
Labels
priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@bshirala
Copy link

bshirala commented Aug 22, 2024

Traceback (most recent call last):
File "restore_template.py", line 7, in
from google.cloud.proto.datastore.v1 import entity_pb2
ModuleNotFoundError: No module named 'google.cloud.proto'

  • Programming language: Python
  • OS: linux
  • Language runtime version: python 3.11
  • Package version: google-cloud-datastore 2.20.1

Steps to reproduce

  1. RUN pip install google-cloud-datastore google-cloud-storage apache-beam
  2. run main.py

main.py

import apache_beam as beam
import collections
from apache_beam.io.gcp.datastore.v1new import datastoreio
from google.cloud.proto.datastore.v1 import entity_pb2

@bshirala bshirala added priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. labels Aug 22, 2024
@Linchin Linchin assigned Linchin and unassigned Linchin Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

No branches or pull requests

2 participants