Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 321
Paul D. Waite Avatar asked Dec 05 '10 13:12

Paul D. Waite


1 Answers

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

like image 53
Paul D. Waite Avatar answered Sep 18 '22 12:09

Paul D. Waite