Do use the official Python installer from python.org (unless you have a very specific reason). Instead, use a package manager.

macOS uses its own Python 2 or 3 internally (in /usr/bin/python ). – that can break system apps like Xcode or the Mac App Store.

Before you start, open (Finder > Applications > Utilities > Terminal).

brew install python

Are you running an outdated version of Python on your Mac? Updating Python can ensure you have the latest features, security patches, and bug fixes. Here's a step-by-step guide on how to update Python on your Mac.