Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

is there an uninstall equivalent to "pip install --user <package>"?

Tags:

python

pip

Our sysadmin has installed a package, so I can remove my local copy. I'd like to say

pip uninstall --user <package>

but pip uninstall does not support --user. (At least pip 1.5.4 on Linux doesn't.) Is there an easy way to do this by hand, i.e., delete the directory that contains the package?

like image 987
Arthur Avatar asked Sep 29 '22 09:09

Arthur


1 Answers

This was a known bug in pip

Ref : https://github.com/pypa/pip/issues/2094

As pip uninstall does not have --user option unlike pip install the question is if there even exists a way to uninstall package installed with pip install --user?

It is now cleared with a note

The packages mentioned in the ticket started working after they offered Wheel-based packages.

like image 88
Bhargav Rao Avatar answered Oct 07 '22 19:10

Bhargav Rao