Python is a widely-used general-purpose, high-level programming language. This article will serve as a complete tutorial on How to download and install Python latest version on macOS / Mac OS X. Like Linux, macOS also comes with Python pre-installed on the system. It might be Python version 2 or some similar outdated version. To update to the latest version, we will use the Homebrew Package manager. It is one of the best and convenient methods to install Python on macOS.
To know more about Homebrew Package manager, visit here.
Python 2 is bundled with Mac OS X. However, Python 3 is not. We recommend that you download and install Python 3, and use Python 3 exclusively when running programs associated with this booksite. Perform these steps to download and install Python, IDLE, Tkinter, NumPy, and PyGame: Browse to the Python for Mac download page. The same source code archive can also be used to build the Windows and Mac versions, and is the starting point for ports to all other platforms. Download the latest Python 3 and Python 2 source. Gpg -verify Python-3.6.2.tgz.asc.
Download and install Homebrew Package Manager
If you don’t have homebrew installed on your system, follow the steps below
Open the Terminal Application of macOS from Application -> Utilities. Bash terminal will open where you can enter commands
Enter following command in macOS terminalEnter system password if prompted. This will install the Homebrew package Manager on your OS.
After you see a message called “Installation Successful”. You are ready to install python version 3 on your macOS.Install Python Latest Version on macOS / macOS X
To install python simple open Terminal app from Application -> Utilities
and enter following commandAfter command processing is complete, Python’s version 3 would be installed on your mac.
To verify the installation enter following commands in your Terminal app
Bingo..!! Python is installed on your computer. You can explore more about python here
Attention geek! Strengthen your foundations with the Python Programming Foundation Course and learn the basics.
Python Download Mac Os
To begin with, your interview preparations Enhance your Data Structures concepts with the Python DS Course.
Download Python 3 Mac
Recommended Posts:
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Python 64 Bit Download
Please Improve this article if you find anything incorrect by clicking on the 'Improve Article' button below.