Sorry, I misunderstood, pyxdg was 4.0.1 which I uninstalled and re installed with pip3 to same version and substituted my id and secret in the goobook authenticate command and goobook authenticate appeared to work.
goobook dump_contacts however does not work. Trace below.
I had been expecting the authentication process to give me something to paste in elsewhere but it just eventually finished with 'The authentication flow has completed' and no errors.
File "/usr/local/lib/python3.6/site-packages/goobook/application.py", line 135, in main
args.func(config, args)
File "/usr/local/lib/python3.6/site-packages/goobook/application.py", line 157, in do_dump_contacts
goco = GoogleContacts(config)
File "/usr/local/lib/python3.6/site-packages/goobook/goobook.py", line 371, in __init__
self.service = build('people', 'v1', http=http_client)
File "/home/user/.local/lib/python3.6/site-packages/googleapiclient/_helpers.py", line 134, in positional_wrapper
return wrapped(*args, **kwargs)
File "/home/user/.local/lib/python3.6/site-packages/googleapiclient/discovery.py", line 288, in build
adc_key_path=adc_key_path,
File "/home/user/.local/lib/python3.6/site-packages/googleapiclient/_helpers.py", line 134, in positional_wrapper
return wrapped(*args, **kwargs)
File "/home/user/.local/lib/python3.6/site-packages/googleapiclient/discovery.py", line 466, in build_from_document
if isinstance(client_options, six.moves.collections_abc.Mapping):
AttributeError: module 'six.moves' has no attribute 'collections_abc'