


Once homebrew has finished installing, you can now finally proceed to install Python. Please note that this process can take some time.Ĥ. This command will run a ruby script that will install homebrew and all its dependencies to your macOS system.

Now with the terminal open, you need to enter the following command. Within this folder, open the terminal by double-clicking “ Terminal“.ģ. Within here you will find a folder called “ Utilities” ( 2.), open it to proceed.Ģ. To do this, you must first open up the “ Finder” application and open up the “ Applications” ( 1.) folder. You can either open this by pressing COMMAND + T or by following the next couple of steps to open up the terminal application. To install homebrew, we will need to first to load up the terminal. This package manager allows us to install things like Python and wget in an easy way on macOS.ġ. For those who do not know what homebrew is, it is a package manager for macOS. Once the installation process has completed, you can now move on to setting up homebrew on macOS. You will be asked to enter your Apple ID’s password for the installation to proceed. Within here, search for “ xcode” ( 1.) within the search box, then click “ Get” ( 2.) to install it to your operating system. Begin by opening up the “ App Store” on your Mac device. There are a few different methods for getting the GCC compiler on to your macOS installation, but we will be going down the Xcode route as it is the simplest one.ġ. The first of these steps is to install Xcode on our device so that we can make use of the GCC compiler. If you already have Xcode and homebrew installed to your Mac, then you can skip to the “ Installing Python using Homebrew ” section of this tutorial. To install Python easily we will require a piece of software called homebrew as well as the compiler GCC, which we will get by installing Xcode. Installing Python on macOS requires us to go through a few different steps.
#INSTALL GCC FOR MAC HOW TO#
In this guide, we will be showing you how to install Python to macOS using the homebrew software.
