install python 3 mac using pip code example
Example 1: install pip on macos
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
sudo easy_install pip
Example 2: install python in mac
brew install python3
brew install python2
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
sudo easy_install pip
brew install python3
brew install python2