Skip to main content
Question

Installing Python on client Macs.


Forum|alt.badge.img+2

As Python will soon no longer ship with macOS, I'm curious as to the best way to install Python on client Macs. All we will really be using Python for is running scripts as part of policies.

I was considering using the Python.org installer, but I'm well aware there are many different ways to distribute Python. Any thoughts?

5 replies

Forum|alt.badge.img+16
  • Valued Contributor
  • 401 replies
  • April 15, 2021

I just looked into this with moving to Outset 3... I used the pkg from python.org. I also had to get the Xcode Command Line Tools from Apple's developer site as a pkg. So for my Outset deployment three packages are getting installed Outset 3.0.3, Python 3.9.4, and Xcode Command Line Tools 11.5 (for Catalina since we're not deploying Big Sur yet - ARGH!). All install quietly and happily. :)


Forum|alt.badge.img+12
  • Valued Contributor
  • 350 replies
  • April 15, 2021

I'm looking at this right now also. There is a CVE for Python older than 3.9.2. Apple's Command Line Tools are still installing v3.8.x.

Apple's CLT and the Python.org package install into different directories. I'm trying to clean all this up since the vulnerability is showing up on our reports.


Forum|alt.badge.img+11
  • Valued Contributor
  • 164 replies
  • June 10, 2021

which method did you end up going with?


Forum|alt.badge.img+7
  • Contributor
  • 16 replies
  • June 10, 2021

Where did you find the command line tools? I've been looking for this but can't find it.

I have a client that wants to bind their macs to Google LDAP, we can do this successfully on Catalina but not on Big Sur because of Python.


Forum|alt.badge.img+19
  • Honored Contributor
  • 582 replies
  • June 10, 2021

If you need to install your own version of Python on computers, you might consider using this tool: MacAdmins Python

Or, if you need more control of the libraries that you will to include, use Relocatable Python


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings