How to uninstall pip on OSX?

I ran the following commands:

easy_install pip
sudo pip install setuptools --no-use-wheel --upgrade

How do I reverse the two commands to get my python back to its original state in OSX? (removing pip as part of it)

Answer

The first thing you should try is:

sudo pip uninstall pip

On many environments that doesn’t work. So given the lack of info on that problem, I ended up removing pip manually from /usr/local/bin.