I've tried on a mobile hotspot, so it's not a network issue here. I've also copied the .gam folder from my previous install to try and avoid project creation, but I'm still getting this error:
lt2499:~$ gam print groups
ERROR: [Errno 101] Network is unreachable
Morrison's Academy, Ferntower Road, Crieff PH7 3AN, Scotland, UK
Scottish Charity Number SC000458
This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately if you have received this e-mail by mistake and delete it from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Neither the sender nor Morrison's Academy therefore accepts liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version