

Homebrew installs a new version of python (by default the latest 2.x version available) and. Homebrew provides OS X with a free and open-source software package managing system that simplifies the installation of software on OS X. The easiest way to safely install python on a MAC is homebrew.

They keep installations in a central location and can maintain all software packages on the system in formats that are commonly used. A package manager is a collection of software tools that work to automate installation processes that include initial software installation, upgrading and configuring of software, and removing software as needed.

While the OS X Terminal has a lot of the functionality of Linux Terminals and other Unix systems, it does not ship with a good package manager. Step 3 - Installing and Setting Up Homebrew First, download an installer package from the Python website. Downloading the latest Python version from the official Python website () is the most common (and recommended) method for installing Python on a Mac. If you receive the following output, then Xcode is installed: Install Python 3 with the Official Installer. Xcode is an integrated development environment (IDE) that is comprised of software development tools for macOS. Alternatively, you can use Spotlight by holding down the command and spacebar keys to find Terminal by typing it out in the box that appears. From here, double-click the Terminal like any other application to open it up. Like any other application, you can find it by going into Finder, navigating to the Applications folder, and then into the Utilities folder. The macOS Terminal is an application you can use to access the command line interface. You will need a macOS computer with administrative access that is connected to the internet.
