Reputation: 2107
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
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?
Upvotes: 4
Views: 10404
Reputation: 24
If you are using a virtual environment, ensure that it is activated, the package is installed within the virtual environment, and the interpreter configured in your text editor matches the virtual environment's interpreter.
Upvotes: 0
Reputation: 83
Directly run pip install google-api-python-client google-auth-httplib2 google-auth-oauthlib
resolves this problem for me.
Upvotes: 3
Reputation: 696
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
Upvotes: 3