-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Uninstall from pip --user install fails (sometimes) #2094
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
Comments
got the same problem in virtualenv |
As |
For me, this typically works:
On the face of it, Notes: the packages mentioned in the ticket started working after they offered Wheel-based packages. Not sure if this is a solution or a workaround. |
This appears to not be a problem now, if you're still having this issue please reopen this ticket or open a new one with reproduction steps. |
This is still a problem on a Debian system, with debian distributed packages. I run the following
The first command installs numpy, but it is not available in python, as the Debian packages precedes user packages in sys.path. The only non-sudo workaround i found is to modify sys.path inside each python script. The next command fails as it tries to uninstall numpy from |
Steps to reproduce:
What should happen:
Package is installed and uninstalled.
What happens instead:
Uninstall fails with
Can't uninstall 'PACKAGE'. No files were found to uninstall.
Notes:
This is not the case with all packages. I can't determine if the issue is with the packages or pip. I know that in all cases I have encountered .local/lib/python2.7/site-packages/PACKAGE-VERSION-py2.7.egg-info/installed-files.txt exists.
Examples of failing packages include: pew-org/pew#39 and hayd/pep8radius#77 but, for example, youtube-dl works.
This is running pip 1.5.4 on Ubuntu 14.04 LTS.
The text was updated successfully, but these errors were encountered: