install pip for python3 mac 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 3 on mac
$ brew install python3
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
sudo easy_install pip
$ brew install python3