The second way is by [compiling](https://www.python.org/ftp/python/” target=”_blank) it on your system.
While both the way listed above is the correct way to install Python3 updating to the latest version might a bit of a work because the above methods don’t update by themselves or with a help of any command line tools.
The third way is to install it with the help of Homebrew
Homebrew is a package for Mac that lets you install any package available in its repository with less than 4 commands depending on the install instructions.
If you have Homebrew already installed on your system you are good to go, if not you can install it from here
Python3 can be installed by entering this simple command in the terminal.