On Tue, 9 Dec 2008 at 18:49, [EMAIL PROTECTED] 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
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to