How to delete a Python package

Nick Vatamaniuc vatamane at gmail.com
Wed Jul 12 13:04:11 EDT 2006


Jack,

As a rule,  if you use a Linux distribution, you should just install
the package and then remove the package using the package manager.
Distutils uninstallation is not supported. Of course you could manually
delete the directory in site-packages in most, but not all (!) cases,
that should remove all the files of the package.

Nick Vatamaniuc

Jack wrote:
> Installing a Python package is easy, most of time just
> "Setup.py install" However, setup.py doesn't seem to support
> an uninstall command. If I want to delete a package that I
> do not use any more, should I just manually delete the
> corresponding sub directory under Lib\site-packages?




More information about the Python-list mailing list