I have to delete a python module named "django" (a popular one), because I installed the wrong version (1.3 - beta in py-2.6).
How to uninstall this module?
Please explain, because I've used python only in Windows and never in Ubuntu.
Navigate to Control Panel. Click “Uninstall a program”, and a list of all the currently installed programs will display. Select the Python version that you want to uninstall, then click the “Uninstall” button above the list – this has to be done for every Python version installed on the system.
python -m pip uninstall [options] -r <requirements file> ... py -m pip uninstall [options] <package> ... py -m pip uninstall [options] -r <requirements file> ...
go to the python shell
>> import django
django.__path__
copy the path
on the shell
sudo rm -r path
sudo aptitude install python-pip
sudo pip install django --upgrade
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With