Re: How to delete a Python package



On 2006-07-12, Nick Vatamaniuc <vatamane@xxxxxxxxx> 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!!
.



Relevant Pages

  • Re: How to delete a Python package
    ... 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. ... corresponding sub directory under Lib\site-packages? ...
    (comp.lang.python)
  • Re: Unexpected error (8000ffff) when checking for windows updates
    ... match): package: ... Microsoft Product Support Services at 1-866-PCSAFETY. ... support calls that are associated with security updates. ... for updates via the Windows update app. ...
    (microsoft.public.windowsupdate)
  • Re: how is Haskell not robust?
    ... Haskell has not reached critical mass. ... have a thousand packages but still poor support for mainstream package ... If anyone would make money with the language or a compiler ...
    (comp.lang.functional)
  • new ppp package
    ... package contains the much requested PPP over ATM and MPPE support. ... * Add a patch from Herbert Xu to fix the PPPIOCDETACH bug. ... * Add the popp example script from Tomas Pospisek. ...
    (Debian-User)
  • RE: SSIS - FTP Error
    ... Dim pkg As Package = New Package ... I will send the error message and my script task code to you shortly. ... > Microsoft Online Partner Support ...
    (microsoft.public.sqlserver.dts)