Import "google_auth_oauthlib.flow" could not be resolved

Question:

In VSCODE using these specifications:

pip 21.3.1 from C:userscomputadorappdatalocalprogramspythonpython39libsite-packagespip (python 3.9)

I’m using this path for installation:

pip install --upgrade google-api-python-client google-auth-httplib2 google-auth-oauthlib

enter image description here

But when I try to add the flow import, it keeps saying could not be resolved, several videos use this model to work and none of them show this failure, what is happening and what can I do to solve this problem?

Asked By: Digital Farmer

||

Answers:

Try pip uninstall google-auth-oauthlib and pip uninstall google-api-python-client google-auth-httplib2 google-auth-oauthlib then reinstall it with pip install google-api-python-client google-auth-httplib2 google-auth-oauthlib

Answered By: Tirterra

Directly run pip install google-api-python-client google-auth-httplib2 google-auth-oauthlib resolves this problem for me.

Answered By: Addin Cui