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)
Run command prompt as administrator. Give the command easy_install -m pip. This may not uninstall pip completely. So again give this command pip uninstall pip If by previous command pip got uninstalled then this command wont run, else it will completely remove pip.
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.
In my case I ran the following command and it worked (not that I was expecting it to):
sudo pip uninstall pip
Which resulted in:
Uninstalling pip-6.1.1: /Library/Python/2.7/site-packages/pip-6.1.1.dist-info/DESCRIPTION.rst /Library/Python/2.7/site-packages/pip-6.1.1.dist-info/METADATA /Library/Python/2.7/site-packages/pip-6.1.1.dist-info/RECORD <and all the other stuff> ... /usr/local/bin/pip /usr/local/bin/pip2 /usr/local/bin/pip2.7 Proceed (y/n)? y Successfully uninstalled pip-6.1.1
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With