Unable to uninstall package using pip

I installed the pillow package, and trying to uninstall using sudo pip uninstall pillow results in this message:

 Not uninstalling Pillow at /usr/lib/python2.7/dist-packages, owned by OS 

Manual uninstallation does not work because pip writes the installed packages somewhere, successfully blocking me from installing the package again.

+5
source share
2 answers

This python library is essential for making Linux Mint Cinnamon work. It can be removed using sudo apt-get remove python-pil (not pip), but most likely it will lead to a breakdown of the operating system.

+1
source

This should fix the problem as it fixed my version on Ubuntu 14.x install pip (even if it is already installed), safely download get-pip.py here https://pip.pypa.io/en/stable/installing/ Then run the following:

sudo python get-pip.py

+1
source

All Articles