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: 'Http' object has no attribute 'close' #97

Open whistle003 opened 1 year ago

whistle003 commented 1 year ago

root@instance-1:~/AutoRclone# python3 gen_sa_accounts.py --list-projects Traceback (most recent call last): File "gen_sa_accounts.py", line 323, in download_keys=args.download_keys File "gen_sa_accounts.py", line 178, in serviceaccountfactory cloud = build('cloudresourcemanager', 'v1', credentials=creds) File "/usr/local/lib/python3.7/dist-packages/googleapiclient/_helpers.py", line 130, in positional_wrapper return wrapped(*args, **kwargs) File "/usr/local/lib/python3.7/dist-packages/googleapiclient/discovery.py", line 321, in build discovery_http.close() AttributeError: 'Http' object has no attribute 'close'

asljkdhu1inadsuhdipsaud commented 1 year ago

resolved?

asljkdhu1inadsuhdipsaud commented 1 year ago

Solved?

whistle003 commented 1 year ago

Solved?

pip3 install 'google-api-python-client>=1.12.1'