Search code examples
pythoneasy-installegg

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.


Solution

  • 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).