Paul D. Waite Paul D. Waite - 11 months ago 62
Python Question

How do I uninstall a Python module (“egg”) that I installed with easy_install?

I’ve installed a couple of Python modules using easy_install. How do I uninstall them?

I couldn’t see an uninstall option listed in

easy_install --help


Ah, here we go:

$ easy_install -m PackageName

$ rm EggFile

I’m not exactly clear what the -m option does, but this method seems to work for me (i.e. after doing it, I can no longer import the modules in my Python interpreter).