How do you uninstall the package manager "pip", if installed from source?

D.C. Rockwell picture D.C. Rockwell · Aug 31, 2013 · Viewed 110k times · Source

I was unaware that pip could be installed via my operating system's package manager, so I compiled and installed pip via source with the following command:

wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py -O - | sudo python

I would like to uninstall pip, and instead install it from my operating system's package manager. How would I go about completely undoing the work of the installation script?

Answer

Karthikeyan D picture Karthikeyan D · Apr 22, 2015

pip uninstall pip will work