- Install Homebrew on Mac OS. For Reference click here
- Launch Terminal on Mac and execute to install homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- Launch Terminal on Mac and execute to install homebrew
- once homebrew is installed then use it to install python3
brew install python3
- Now check if python3 is installed correctly by executing
python3 --version