You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To summarize, when both api-client and google-api-python-client are installed, the latter one overwrites the __init__.py file of the api-client. In that case, none of the import from apiclient directly work.
One possible way would be to change all the imports to the ones from nested modules, e.g.:
fromapiclient.clientimportAPIClient
instead of:
fromapiclientimportAPIClient
I know, this is not ideal, but I can't come up with a better solution for those cases, when both packages are required. Maybe google-api-python-client will solve this issue in the near future.
The text was updated successfully, but these errors were encountered:
🚀 Feature Request
Today I found an issue related to another issue in the google-api-python-client:
googleapis/google-api-python-client#2485
To summarize, when both api-client and google-api-python-client are installed, the latter one overwrites the
__init__.py
file of the api-client. In that case, none of the import from apiclient directly work.One possible way would be to change all the imports to the ones from nested modules, e.g.:
instead of:
I know, this is not ideal, but I can't come up with a better solution for those cases, when both packages are required. Maybe google-api-python-client will solve this issue in the near future.
The text was updated successfully, but these errors were encountered: