问题
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.
回答1:
go to the python shell
>> import django
django.__path__
copy the path
on the shell
sudo rm -r path
回答2:
sudo aptitude install python-pip
sudo pip install django --upgrade
来源:https://stackoverflow.com/questions/5959647/uninstalling-a-python-module-in-ubuntu