I have been trying to upgrade to python3.6 to work with GAM..
After many issues I am stuck with this error.
/usr/bin/python3 /home/dpolzin/GAM/GAM-4.94/src/gam.py info user dpolzin
Traceback (most recent call last):
File "/home/dpolzin/GAM/GAM-4.94/src/gam.py", line 14898, in <module>
sys.exit(ProcessGAMCommand(sys.argv))
File "/home/dpolzin/GAM/GAM-4.94/src/gam.py", line 14266, in ProcessGAMCommand
doGetUserInfo()
File "/home/dpolzin/GAM/GAM-4.94/src/gam.py", line 10123, in doGetUserInfo
cd = buildGAPIObject('directory')
File "/home/dpolzin/GAM/GAM-4.94/src/gam.py", line 1362, in buildGAPIObject
credentials = getValidOauth2TxtCredentials()
File "/home/dpolzin/GAM/GAM-4.94/src/gam.py", line 1295, in getValidOauth2TxtCredentials
credentials.refresh(google_auth_httplib2.Request(_createHttpObj()))
File "/home/dpolzin/GAM/GAM-4.94/src/gam.py", line 113, in _createHttpObj
cache=cache, timeout=timeout)
TypeError: __init__() got an unexpected keyword argument 'tls_maximum_version'
Any ideas..?
I have a script to get the full list of google groups and then check and change the group settings.. But I cannot get any simple connection to work.
I installed these packages..exit
google-api-python-client 1.7.11
google-auth 1.6.3
google-auth-httplib2 0.0.3
google-auth-oauthlib 0.4.0