Prerequisites for installing Python3 on Mac
Install Xcode
Xcode is Apple's Integrated Development Environment (IDE). You might already have Xcode on your Mac. If not, you can get Xcode from Apple appstore.
Download Python for Mac - A free, open source and high-level programming language that can be used for web, Internet and software development, desktop GUIs, science, education and more. DOWNLOAD Python 3.9.0 / 2.7.18. This enables Disqus, Inc. To process some of your data. Download the latest version of Python. Download Python 3.4.0. Wondering which version to use? Here’s more about the difference between Python 2 and 3. Looking for Python with a different OS? 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.
Install Brew
Homebrew installs the stuff you need. Homebrew is a package manager for Mac OS
Step 1. Launch Terminal.
Go to Launchpad – Other – Terminal
Step 2. Install HomeBrew
Install Python3 with Brew
Enter brew command into terminal
Python 3 Download Mac
brew install python3
Mac Install Python 3.6
Optional, PATH environment
Set up PATH environment variable, if you used HomeBrew to install Python3, then HomeBrew already added PATH.
Do not change PATH environment if you can launch python3 from terminal.
Add the following line to your ~/.profile file
export PATH=/usr/local/bin:/usr/local/sbin:$PATH
Python 64 Bit Download
Usually your Python installation directory looks like this, add it to your PATH
Mac Python 3.8
PATH='/Library/Frameworks/Python.framework/Versions/3.6/bin:${PATH}'