If I used sudo easy_install pip
on my OS X Lion 10.7.4, how do I cleanly remove it?
After the installation, I also did
pip install --upgrade setuptools
From this link:
easy_install -mxN <PackageName>
That means, execute:
easy_install -mxN pip
Then, you can manually remove the .egg
files or directories, which should be somewhere in .../Python/2.7/site-packages/[PACKAGE].egg
.
But I didn't try that. I even don't use the Mac :)
You can see also similar question: How do I remove packages installed with Python's easy_install?
Use pip to uninstall pip:
sudo pip uninstall pip