Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do you remove pip from a pc if you installed by "get-pip.py" #1892

Closed
DoTheEvo opened this issue Jun 24, 2014 · 8 comments
Closed

How do you remove pip from a pc if you installed by "get-pip.py" #1892

DoTheEvo opened this issue Jun 24, 2014 · 8 comments
Labels
auto-locked Outdated issues that have been locked by automation

Comments

@DoTheEvo
Copy link

removing, uninstalling pip
get-pip.py from here
Cant find anything on this subject.
Might be helpful for the documentation as well

@Ivoz
Copy link
Contributor

Ivoz commented Jun 24, 2014

python -m pip uninstall pip setuptools

@DoTheEvo
Copy link
Author

Thank you

@buggedcom
Copy link

This may also be handy if coming here looking to uninstall pip and all packages installed by pip

http://stackoverflow.com/questions/11248073/what-is-the-easiest-way-to-remove-all-packages-installed-by-pip

Goes without saying that you should run the commands in the above link before running the command in this issue.

@CyberMew
Copy link

pip uninstall pip

@jonathanpmartins
Copy link

And if is pip is broken? Can I remove some folders and reinstall it?

@xavfernandez
Copy link
Member

How is it broken ? python -m pip.__main__ does not work ?

You could download https://bootstrap.pypa.io/get-pip.py and run python get-pip.py --ignore-installed to reinstall pip.

@jonathanpmartins
Copy link

No, nothing work. The only way was delete the /usr/lib/python2.7/site-packages folder, and then try python get-pip.py again. But in my case I am installing all packages again. Thanks for the tip! Next time I try it before run rm -rfstuff... this time was too late, hhehehehe

@arpitrohela
Copy link

arpitrohela commented Mar 1, 2017

@jonathanpmartins Yeah,site-package removal method worked for me too.my pip was broken somehow and get-pip kept saying that pip is already installed instead of doing a fresh installation,Only when the folder was removed the get-pip allowed to reinstall the pip from scratch. This method works when I can't go for 'pip uninstall pip' since pip was said to be installed by get-pip.py but broke,so how could I use pip to uninstall pip.
This was the only option I was left with.

@lock lock bot added the auto-locked Outdated issues that have been locked by automation label Jun 3, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jun 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
auto-locked Outdated issues that have been locked by automation
Projects
None yet
Development

No branches or pull requests

7 participants