ImportError: No module named pip
On Mac using brew is a better option as apt-get is not available.Command:
brew install python
In case you have both python2 & python3 installed on machine
python2.7 -m ensurepip --default-pip
simply should solve the issue.
If instead you are missing pip from python 3 then simply change
python3 in the command above.