How to remove packages - wxPython
peter at engcorp.com
Sat Dec 11 21:32:51 CET 2004
> Linux kernel 2.6.9
> Slackware 10
> Python version 2.3.4
> wxPython version 22.214.171.124
> I compiled and installed wxPython.
> There is no uninstall script that I can find for the py components. The
> library component has a make uninstall.
> What is the proper way to uninstall packages? I searched everywhere, but
> there seems to be no clearcut explanation.
> Can I just remove the site-package directories it created? Or is there a
> central config file for python?
Generally speaking, just removing the subfolder(s) from site-packages
will completely remove an extension. Some few extensions will also
create a .pth file in the site-packages folder, so check for that
as well. No doubt there are exceptions, but I believe this will
cover 95% of the cases.
More information about the Python-list