'Import "google_auth_oauthlib.flow" could not be resolved

In VSCODE using these specifications:

pip 21.3.1 from C:\users\computador\appdata\local\programs\python\python39\lib\site-packages\pip (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?



Solution 1:[1]

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

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Tirterra