-
Notifications
You must be signed in to change notification settings - Fork 318
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.auth' #184
Comments
Hmmm this issue does not seem to follow the issue template. Make sure you provide all the required information. |
Hey there! I couldn't figure out what this issue is about, so I've labeled it for a human to triage. Hang tight. |
I see this is a duplicate of googleapis/google-cloud-python#5023 |
This issue is driving me 🍌 🍌 🍌 I'm trying to follow the fix in the ☝️ issue, locking versions in a requirements file, but it feels like a game of wack-a-mole. My requirements now looks like:
And I now get this error:
|
The only working solution I've found for this problem is simply installing |
@hiranya911 I tried installing both directly, but couldn't get it to work. What versions do you pin google-cloud-firestore to? As you can see from my requirements.txt file above ☝️ I've locked firestore to |
I'm experiencing the same issue. My packages are installed in the project directory |
@Billcountry you have a different problem stemming from the fact that Google Python libs use hierarchical packaging. See the discussion and the workarounds suggested in the following issue: googleapis/google-auth-library-python#169 |
It seems installation of We cannot implement the proposed fix until that gets resolved. |
Now that #229 is in place, we might be able to revisit this. |
@FreakTheMighty can you try out the above fix in your test/development environment and see if that works? It seems to work fine in my local |
[REQUIRED] Step 2: Describe your environment
[REQUIRED] Step 3: Describe the problem
pip install doesn't appear to install all transitive dependencies. As a result I'm getting missing module errors when I
from firebase_admin import firestore
Steps to reproduce:
I've created a dockerized reproduction of the problem:
Relevant Code:
The text was updated successfully, but these errors were encountered: