-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Issues about "AttributeError: module 'six.moves' has no attribute 'collections_abc'" #1039
Comments
Can you try in a new virtualenv?
In addition, oauth2client is no longer maintained so you should use google-auth. from google.oauth2 import service_account
credentials = service_account.Credentials.from_service_account_file(
'/path/to/key.json')
scoped_credentials = credentials.with_scopes(
['https://www.googleapis.com/auth/cloud-platform']) |
@busunkim96
|
I still have this problem. Six is updated to 1.15.0 and google api client is updated to 1.12.2. I have also tried installing packages in a new environment but to no avail. Is anyone able to help please? |
I get the same error, but I'm using the Earth Engine Python API. I need it for for a plugin in a third-party software, so I don't think I can use a virtual environment. I filed the error in the project of the plugin gee-community/qgis-earthengine-plugin#67 because I first thought the plugin is the issue. Because it only occurs if I start the plugin, not when I call the same function in a standard Python console. But when I looked closer I realized that the bug actually comes from here. But it is pretty strange that it only occurs if the plugin uses the API. |
I've confirmed that google-api-python-client/setup.py Line 45 in 2d076b8
|
I encountered this error message when I was trying to use google analytics API in python
AttributeError: module 'six.moves' has no attribute 'collections_abc'
Here is my python code:
I noticed that someone might have filed the same issue couple days ago, but I still ran into this issue.
Here is the version info of google-api-python-client:
I am wondering if there is any revision I need to do to fix this issue?
Thank you in advance.
The text was updated successfully, but these errors were encountered: