Closed yuandx123 closed 1 year ago
my venv
same on windows10 & python3.11, is normal on replace the commented code line
same issue
same
pip3 install 'google-api-python-client==1.7.2' pip3 install 'google-auth==1.8.0' pip3 install 'google-auth-httplib2==0.0.3' pip3 install 'google-auth-oauthlib==0.4.1'
same issue
yes, I have the same. I just start a simple python script. I thing I choose wrong type of application. In documentation Another, I don't see another, I choose Web application. When I try it in the web its ok with status 200. But I copy this python code, put client_secret code near my script and .. get a error.
google-api-core==2.11.0 google-api-python-client==2.79.0 google-auth==2.16.1 google-auth-httplib2==0.1.0 google-auth-oauthlib==1.0.0 googleapis-common-protos==1.58.0
google-api-core-2.11.0 google-api-python-client-2.79.0 google-auth-httplib2-0.1.0 googleapis-common-protos-1.58.0 httplib2-0.21.0 protobuf-4.22.0 pyparsing-3.0.9 uritemplate-4.1.1
google-auth-2.16.1 google-auth-oauthlib-1.0.0 requests-oauthlib-1.3.1
I have this message ERROR: launchpadlib 1.10.13 requires testresources, which is not installed. ERROR: google-api-core 2.11.0 has requirement google-auth<3.0dev,>=2.14.1, but you'll have google-auth 1.28.0 which is incompatible.
thx so much for your reply, your answer completely resolve the issue
Thanks for the tips. I added a requirements.txt with: google-api-python-client==1.7.2 google-auth==1.8.0 google-auth-httplib2==0.0.3 google-auth-oauthlib==0.4.1
Then just ran python -m pip install -r requirements.txt
Then all went well.
I'd like this issue re-opened as I'm getting the same error yet the solutions here don't work.
The run_console()
(OOB) flow has been deprecated by Google, that's why it was removed from newer versions of the Google OAuth connector
This worked:
google-api-python-client==1.7.2 google-auth==2.14.1 google-auth-httplib2==0.0.3 google-auth-oauthlib==0.4.1
The
run_console()
(OOB) flow has been deprecated by Google, that's why it was removed from newer versions of the Google OAuth connector
Looks like they need to update the official beginner's documentation