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?
This question is related to
python
pip
uninstallation
system-administration
pip uninstall pip
will work
I was using above command but it was not working. This command worked for me:
python -m pip uninstall pip setuptools
If you installed pip like this:
- sudo apt install python-pip
- sudo apt install python3-pip
Uninstall them like this:
- sudo apt remove python-pip
- sudo apt remove python3-pip
Source: Stackoverflow.com