Mac OS Monterey Python Version?

Could someone tell me the default version of Python, installed with Mac OS Monterey? The one symlinked from /usr/bin/python to /System/Library/Frameworks.

Post not yet marked as solved Up vote post of sanhozay Down vote post of sanhozay
45k views
  • For anyone who has Mac OS Monterey installed, it's just a case of opening up Terminal and running 'python --version'.

    There is a tool I use that may stop working if the system Python version changes.

  • I typed that (I have 12.5.1) & I get this: zsh: command not found: python

Add a Comment

Replies

Python 3.10.8 final

Release date: 2022-10-04

https://www.python.org/ftp/python/3.10.8/python-3.10.8-macos11.pkg

= (macOS 64-bit universal2 installer) = Universal is for Apple silicon too ! :)

Release details:

The macOS 13 SDK includes support for the mkfifoat and mknodat system calls. Using the dir_fd option with either os.mkfifo() or os.mknod() could result in a segfault if cpython is built with the macOS 13 SDK but run on an earlier version of macOS. Prevent this by adding runtime support for detection of these system calls (“weaklinking”) as is done for other newer syscalls on macOS.

Python 3.11.0 final

Release date: 2022-10-24

download: https://www.python.org/downloads/release/python-3110/

= (macOS 64-bit universal2 installer) = Universal is for Apple silicon too ! :)

After install of the .pkg you get an folder Python 3.11 in Applications

Then : launch with Terminal

Install Certificates.command Update Shell Profile.command

THATS ALL !

changelog: https://docs.python.org/release/3.11.0/whatsnew/changelog.html#macos

The macOS 13 SDK includes support for the mkfifoat and mknodat system calls. Using the dir_fd option with either os.mkfifo() or os.mknod() could result in a segfault if cpython is built with the macOS 13 SDK but run on an earlier version of macOS. Prevent this by adding runtime support for detection of these system calls (“weaklinking”) as is done for other newer syscalls on macOS.

general upgrade tutorial: https://www.codegrepper.com/code-examples/shell/pip+install+-%2A-upgrade

For those of you who simply want python 3 at python you can execute the following in Terminal:

$ ln -s `which python3` /usr/local/bin/python
$ which python
/usr/local/bin/python

ln -s creates a symbolic link from whereever python3 is into /usr/local/bin at python.

update 3.11.1 of dec, 6 -2022

https://www.python.org/ftp/python/3.11.1/python-3.11.1-macos11.pkg

Hello Everyone,

Is there a command that would update\upgrade MacOS Python on Monterey 12.6.3?

% python3 --version
Python 3.9.6
% 

Nope, I am not looking to download from python.org nor use pyenv nor brew because all of these options install yet another Python3 on a totally different directory path hence it duplicates an install. I would simply want to update\upgrade the current MacOS Python3.

Is it possible or has it been locked so that new version of Python3 do not hinder the ability for MacOS to operate?

update 3.11.3 of apr, 4 -2023

https://www.python.org/ftp/python/3.11.3/python-3.11.3-macos11.pkg

Documentation: https://docs.python.org/3.11/

Change log : https://docs.python.org/release/3.11.3/whatsnew/changelog.html#macos

for macOS 10.9 and later

update 3.12.2 of febr, 6-2024 for macOS 10.9 and later

https://www.python.org/ftp/python/3.11.3/python-3.12.2-macos11.pkg

Documentation: https://www.python.org/downloads/release/python-3122/

https://docs.python.org/3.12/

Change log : https://www.python.org/ftp/python/3.12.2/

  • Update macOS installer to use SQLite 3.45.1.

  • Update macOS installer to use OpenSSL 3.0.13