How to delete a Python package
Grant Edwards
grante at visi.com
Wed Jul 12 13:09:37 EDT 2006
On 2006-07-12, Nick Vatamaniuc <vatamane at gmail.com> 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?
> As a rule, if you use a Linux distribution, you should just install
> the package and then remove the package using the package manager.
That's fine except a lot of python packages aren't available in
any of the various Linux distro package formats.
> 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.
--
Grant Edwards grante Yow! I hope something GOOD
at came in the mail today so
visi.com I have a REASON to live!!
More information about the Python-list
mailing list