python 2.7 install pip macos code example
Example 1: pip installer for mac
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
Example 2: brew install pip
$ brew unlink python && brew link python
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
$ brew unlink python && brew link python