There is a --user option for pip that can install a Python package for each user:
pip install
I used this option to install the package on a server for which I do not have root access. Now I need to remove the installed package for the current user. I tried to execute this command:
pip uninstall
But I got:
no such option: --user
How to remove a package that I installed using pip install --user , besides manually finding and removing the package?
I found this article
pip cannot remove from the site sites directory for each user
which describes that removing packages from the user directory is not supported. According to the article, if it was done correctly, then using
pip uninstall [package-name]
the installed package will also run in user directories. But the problem still remains for me. What if the same package was installed both for the entire system and for each user? What if someone needs to target a specific user directory?
Serjik Oct 29 '15 at 11:27 2015-10-29 11:27
source share