How do I manually uninstall setuptools (installed by egg)?
rdmurray at bitdance.com
rdmurray at bitdance.com
Tue Dec 9 22:15:51 EST 2008
More information about the Python-list mailing list
Tue Dec 9 22:15:51 EST 2008
- Previous message (by thread): How do I manually uninstall setuptools (installed by egg)?
- Next message (by thread): How do I manually uninstall setuptools (installed by egg)?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, 9 Dec 2008 at 18:49, excord80 at gmail.com wrote: > On Ubuntu, I accidentally manually installed setuptools > http://pypi.python.org/pypi/setuptools/0.6c9 (by running the .egg file > as a shell script via sudo), and now realize I should just be using > apt to take care of my system Python packages. I also installed one or > two packages using its ``easy_install``. > > Looks like it lives in ``/usr/lib/python2.5/site-packages``. > > How can I manually remove those packages installed using that > ``easy_install``, and then manually remove the setuptools package I > installed? rm -r /usr/lib/python2.5/site-packages/<egg-directory> Then find the .pth file (in the site-packages directory) that references the egg, and delete the line referencing the egg. Setuptools has no uninstall function, as far as I know. --RDM
- Previous message (by thread): How do I manually uninstall setuptools (installed by egg)?
- Next message (by thread): How do I manually uninstall setuptools (installed by egg)?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list