How to uninstall setuptools

Diez B. Roggisch deets at nospam.web.de
Mon Nov 3 09:58:29 EST 2008


Roger Erens wrote:

> On my Ubuntu8.04 box I installed python-all and subsequently setuptools
> for both 2.4 and 2.5 interpreters. To make a clean upgrade to 8.10 I
> need to uninstall setuptools. Any hints for doing that?

It sounds as if you installed it using debian package management. Then you
can just deinstall with that (or better yet upgrade).

If you installed manually, it should suffice to rip
out /usr/lib/python2.*/site-packages/[setuptools*|easy-install*]
and /usr/bin/easy_install*.

Diez



More information about the Python-list mailing list