A new MacBook was acquired with Ventura last May. I immediately began to install a list of apps via homebrew.
When I unboxed the Mac, I did NOT check to see if Apple outfitted it with Python (be it version 2 or 3). I would think and will assume that Apple provided ("system") python in Ventura would be version 3, as python2 was retired in 2020 well before Ventura's release.
I believe (and seek examination of said beliefs) the that:
- Apple outfits MacOS with a "system python" since at least BigSur or newer.
- Apple outfits Ventura with python
- In Ventura the system python is found at /usr/bin/python3
In How to confirm MacOS "system" Python version, I am receiving conflicting information as the question in the title. Ideally, responses would be able provide confirmation from an authoritative website (i.e. Apple or similar credible source) or proper experiments.
I hope it is obvious that it is not practical buy a new Mac to test a hypothesis, nor is it practical reinstall MacOS.
If there is any credible source that debunks said beliefs 1) 2) or 3), that would also be appreciated. Thank you
My Default Python configuration
user@MacBook-Pro scripts % which python3
/usr/local/bin/python3
user@MacBook-Pro scripts % ls -l /usr/local/bin/python3
lrwxr-xr-x 1 user admin 40 Oct 11 20:46 /usr/local/bin/python3 -> ../Cellar/[email protected]/3.11.6/bin/python3
If there is no "system python" then this is important to know. Thank you for your previous insightful comments on my prior questions – gatorback Dec 31 '23 at 13:46