Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: 'InstalledAppFlow' object has no attribute 'run_console' #101

Closed
yuandx123 opened this issue Feb 12, 2023 · 14 comments
Closed

Comments

@yuandx123
Copy link

image
my venv
image
same on windows10 & python3.11, is normal on replace the commented code line
image

@youli023023
Copy link

same issue

@taoqiko
Copy link

taoqiko commented Feb 17, 2023

same

@lives4r
Copy link

lives4r commented Feb 18, 2023

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'

@Dysonsun
Copy link

same issue

@demetranadya
Copy link

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.

@demetranadya
Copy link

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

@demetranadya
Copy link

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

@demetranadya
Copy link

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.

@orangejx
Copy link

thx so much for your reply, your answer completely resolve the issue

@fritzklyka
Copy link

fritzklyka commented Mar 22, 2023

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.

@george-emerald
Copy link

I'd like this issue re-opened as I'm getting the same error yet the solutions here don't work.

@flipbit03
Copy link

The run_console() (OOB) flow has been deprecated by Google, that's why it was removed from newer versions of the Google OAuth connector

@morebrackets
Copy link

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

@JJRicks
Copy link

JJRicks commented Dec 7, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests