xyou365 / AutoRclone

AutoRclone: rclone copy/move/sync (automatically) with thousands of service accounts
https://www.gfan.loan/?p=235
1.36k stars 520 forks source link

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

Closed yuandx123 closed 1 year ago

yuandx123 commented 1 year ago

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

youli023023 commented 1 year ago

same issue

taoqiko commented 1 year ago

same

lives4r commented 1 year ago

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 commented 1 year ago

same issue

demetranadya commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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

fritzklyka commented 1 year ago

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 commented 1 year ago

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

flipbit03 commented 9 months ago

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 commented 9 months ago

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 commented 8 months ago

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