Unable to uninstall programs using sudo pip
Solution 1:
According to the output of dpkg -S
, numpy
has been installed using apt
to remove it run:
sudo apt remove python-numpy
you might have a local installation of it using pip
, to remve that you can use:
pip uninstall numpy --user
Solution 2:
use --isolated
option.
like below:
sudo pip uninstall numpy --isolated