Which version of Python is pre-installed on macOS Sonoma 14

If you have got a new Mac (Macbook) device or updated to macOS Sonoma 14 and wondering which version of Python is shipped with it, you can simply run the python3 version command.

% python3 --version

Python 3.9.6

As you can see, Python 3.9.6 is the version with macOS Sonona.

Note: If you are on the Beta version of Sonoma, you will see that the above command may see a warning "xcode-select: note: No developer tools were found, requesting install." So you may need to download Command Line Tools first.

Python 3 version with macOS Sonoma
% python --version

zsh: command not found: python

Note: Unlike previous versions of macOS, Python 2.x version is not pre-installed on Sonoma.


This is not an AI-generated article but is demonstrated by a human on an M1 Mac running macOS Sonoma 14.0.

Please support independent contributors like Code2care by donating a coffee.

Buy me a coffee!

Buy Code2care a Coffee!

Comments & Discussion

Facing issues? Have questions? Post them here! We're happy to help!