No longer able to update GAM on Mac

911 views
Skip to first unread message

Jeff Johnson

unread,
May 6, 2022, 11:27:15 AM5/6/22
to GAM for Google Workspace
I'm running the GAM update command: 

but getting the following error:
ERROR: No version of python installed.

I did verify that I have python3 installed, and have also tried creating an alias (alias python=python3) but that still doesn't fix it.  

Any ideas?

Ian Crew

unread,
May 6, 2022, 11:30:33 AM5/6/22
to google-ap...@googlegroups.com
What do you get if you try the command :

which python 

?

Cheers,

Ian


Service alimentaire Gordon et ses entreprises affiliées ont mis en place des mesures de santé et de sécurité relatives à la pandémie de COVID-19, conformément aux directives locales et aux recommandations des experts de la santé. Veuillez discuter de ces mesures avec votre contact chez Service alimentaire Gordon avant toute rencontre ou visite à l'un de nos établissements  .

Gordon Food Service, and its affiliates, have implemented health and safety measures in response to the COVID-19 pandemic. All measures are taken in accordance with local governance and recommendations from leading health experts. Please discuss the most up-to-date requirements with your Gordon Food Service contact prior to meeting or visiting one of our facilities.

--
You received this message because you are subscribed to the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/0a6d05b0-ac21-4b48-ace9-f42e426ce161n%40googlegroups.com.
--
Ian Crew

Solutions Architect
Productivity & Collaboration Services
Information Services and Technology

Jeff Johnson

unread,
May 6, 2022, 11:32:23 AM5/6/22
to google-ap...@googlegroups.com

python: aliased to python3



You received this message because you are subscribed to a topic in the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-apps-manager/i9PfQwLcM6M/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-apps-man...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/CAD2sLFsiWuspNczy-qhf7UtmHbg%2BLiNEUxkxnaYaTZ-Odbd0Lg%40mail.gmail.com.

Jeff Johnson

unread,
May 6, 2022, 11:34:07 AM5/6/22
to GAM for Google Workspace
additionally, when I just run python3 I get the following error:

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun



Ross Scroggs

unread,
May 6, 2022, 11:35:52 AM5/6/22
to google-ap...@googlegroups.com
Jeff,

Contact me directly via Meet/Zoom.

Jeff Johnson

unread,
May 6, 2022, 11:54:14 AM5/6/22
to GAM for Google Workspace
Thanks so much for the help.  Apparently I have an issue with my python3 installation, but you've provided the following manual steps for updating GAM, so I'll do this for now.

download latest from github
In terminal:
cd bin
mv ~/Downloads/gam-6.21-macos-universal2.tar.xz .
tar -xvf gam-6.21-macos-universal2.tar.xz

Ian Crew

unread,
May 6, 2022, 12:01:43 PM5/6/22
to GAM for G Suite
Got it. And what do you get when you try:

which python3

?

(“which” identifies where the program in question lives on your computer. My guess is that your python3 is not in your unix path, which is why it’s not being found/not running.)

Cheers,

Ian

Ian Crew

Solutions Architect
Productivity & Collaboration Services
Berkeley IT

Jawann Swislow

unread,
Dec 9, 2022, 3:21:47 PM12/9/22
to GAM for Google Workspace
I faced the same issue and ended up using the steps mentioned by Jeff.
  • When I ran which python, I got python not found
  • When I ran which python3, I got /usr/bin/python3

I'm on 13.0 (22A380) and I don't use the terminal very often, so my config should be pretty standard. I didn't knowingly install python3 myself.

Jawann

Jeff Johnson

unread,
Dec 9, 2022, 3:28:13 PM12/9/22
to google-ap...@googlegroups.com
It was never resolved for me, so here is the workaround I've been doing to update manually:

download latest from github


In terminal:

cd bin

mv ~/Downloads/gam-6.25-macos-universal2.tar.xz .

tar -xvf gam-6.25-macos-universal2.tar.xz


Run “gam info domain” to produce security error

Go into Mac System Preferences > Security & Privacy

Click “Allow anyway” next to gam error


Update complete.






Jawann Swislow

unread,
Dec 10, 2022, 5:55:17 PM12/10/22
to GAM for Google Workspace
Thanks, Jeff. This worked well.

Hopefully the standard update process is resolved soon.

Jawann

Ben McNeil

unread,
Jan 30, 2023, 11:58:59 PM1/30/23
to GAM for Google Workspace
for me downloading and installing the actual python3 from https://www.python.org/downloads/ then meant the good old bash <(curl -s -S -L https://gam-shortn.appspot.com/gam-install) -l worked once again

Walt Surovik

unread,
Jan 31, 2023, 9:23:58 AM1/31/23
to google-ap...@googlegroups.com
Anyone else seeing this message when running GAM?

This page appears when Google automatically detects requests coming from your computer network which appear to be in violation of the <a href="//www.google.com/policies/terms/">Terms of Service</a>. The block will expire shortly after those requests stop.  In the meantime, solving the above CAPTCHA will let you continue to use our services.<br><br>This traffic may have been sent by malicious software, a browser plug-in, or a script that sends automated requests.  If you share your network connection, ask your administrator for help &mdash; a different computer using the same IP address may be responsible.  <a href="//support.google.com/websearch/answer/86640">Learn more</a><br><br>Sometimes you may be asked to solve the CAPTCHA if you are using advanced terms that robots are known to use, or sending requests very quickly.


Children First. Always.

Walt
-------------------------------------
Walt Surovik
Systems Administrator 
Bryan ISD
979.209.1179


Jeff Johnson

unread,
Jan 31, 2023, 9:55:27 AM1/31/23
to google-ap...@googlegroups.com
Yes, this also fixed it for me.  Thanks!





Ross Scroggs

unread,
Jan 31, 2023, 10:57:10 AM1/31/23
to google-ap...@googlegroups.com
Walt,

Send me a Meet/Zoom invitation and I'll try to help

Ross



--
You received this message because you are subscribed to the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.


--

Walt Surovik

unread,
Jan 31, 2023, 11:03:15 AM1/31/23
to google-ap...@googlegroups.com
Thanks, Ross.

GAM started working again a few minutes ago, should've sent a message letting you know.  The School District that shares a limited number of external IPs.  
We're trying to trace any other device that was being identified with the same external IP that could have been sending trash to Google.


Children First. Always.

Walt
-------------------------------------
Walt Surovik
Systems Administrator 
Bryan ISD
979.209.1179

Excellence is to do a common thing in an uncommon way.
~ Booker T. Washington


Jawann Swislow

unread,
Jan 31, 2023, 3:01:11 PM1/31/23
to GAM for Google Workspace
Ditto. Much appreciated!

Jawann

python: aliased to python3


Service alimentaire Gordon et ses entreprises affiliées ont mis en place des mesures de santé et de sécurité relatives à la pandémie de COVID-19, conformément aux directives locales et aux recommandations des experts de la santé. Veuillez discuter de ces mesures avec votre contact chez Service alimentaire Gordon avant toute rencontre ou visite à l'un de nos établissements  .

Gordon Food Service, and its affiliates, have implemented health and safety measures in response to the COVID-19 pandemic. All measures are taken in accordance with local governance and recommendations from leading health experts. Please discuss the most up-to-date requirements with your Gordon Food Service contact prior to meeting or visiting one of our facilities.


--
You received this message because you are subscribed to the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/0a6d05b0-ac21-4b48-ace9-f42e426ce161n%40googlegroups.com.
--
Ian Crew

Solutions Architect
Productivity & Collaboration Services
Information Services and Technology


--
You received this message because you are subscribed to a topic in the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-apps-manager/i9PfQwLcM6M/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-apps-man...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/CAD2sLFsiWuspNczy-qhf7UtmHbg%2BLiNEUxkxnaYaTZ-Odbd0Lg%40mail.gmail.com.

Service alimentaire Gordon et ses entreprises affiliées ont mis en place des mesures de santé et de sécurité relatives à la pandémie de COVID-19, conformément aux directives locales et aux recommandations des experts de la santé. Veuillez discuter de ces mesures avec votre contact chez Service alimentaire Gordon avant toute rencontre ou visite à l'un de nos établissements  .

Gordon Food Service, and its affiliates, have implemented health and safety measures in response to the COVID-19 pandemic. All measures are taken in accordance with local governance and recommendations from leading health experts. Please discuss the most up-to-date requirements with your Gordon Food Service contact prior to meeting or visiting one of our facilities.

--
You received this message because you are subscribed to the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
Ian Crew

Solutions Architect
Productivity & Collaboration Services
Berkeley IT

--
You received this message because you are subscribed to a topic in the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-apps-manager/i9PfQwLcM6M/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-apps-man...@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-apps-manager/i9PfQwLcM6M/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-apps-man...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages