ire_and_curses ire_and_curses - 27 days ago 6x
Python Question

How do I remove packages installed with Python's easy_install?


makes installing new packages extremely convenient. However, as far as I can tell, it doesn't implement the other common features of a dependency manager - listing and removing installed packages.

What is the best way of finding out what's installed, and what is the preferred way of removing installed packages? Are there any files that need to be updated if I remove packages manually (e.g. by
rm /usr/local/lib/python2.6/dist-packages/my_installed_pkg.egg
or similar)?


pip, an alternative to setuptools/easy_install, provides an "uninstall" command.

Install pip according to the installation instructions:

$ wget
$ python

Then you can use pip uninstall to remove packages installed with easy_install