With macOS 12.3 Monterey, Apple dropped support for Python 2.7: https://developer.apple.com/documentation/macos-release-notes/macos-12_3-release-notes#Python . In addition, macOS 12.*, does not come with Python3 installed by default.
There are several ways to add Python3 to a device running macOS, including:
- via Apple's Xcode Command Line Tools. One could open a terminal (Applications -> Utilities -> Terminal), and type: python3, and follow the on-screen prompts. Alternatively, from a terminal, one could type: xcode-select --install
- via download from python.org: https://www.python.org/downloads/.
- via HomeBrew: https://brew.sh/ (a third-party package manager for macOS). With that tool installed, from a terminal, one could type: brew install python3.
Python 2.7, if needed, may be retrieved from the python.org link provided above.