how to unistall a Python package?

S

siggi

Hi all,

installing a package with 'setup.py' is easy. But how do I uninstall the
package, once I want to get rid of it again?

Thanks,

siggi
 
W

Wang Shuhao

Third party packages are put into $PYTHONHOME\Lib\site-packages after been installed, so to uninstall them, just go there and delete the directory contains all files of your package.


----- Original Message -----
From: "siggi" <[email protected]>
Newsgroups: comp.lang.python
To: <[email protected]>
Sent: Thursday, January 25, 2007 10:02 PM
Subject: how to unistall a Python package?
 
C

Colin J. Williams

With Windows, a few packages, eg. PythonWin, also modify the registry.
numpy, the elaboration of numarray/numeric, and PythonWin have
RemoveXXX.exe in C:\Python25.

I don't know whether this is the standard approach. There doesn't seem
to be a reference to Removal in the distutils document.

Colin W.
 
T

Thomas Heller

Colin said:
With Windows, a few packages, eg. PythonWin, also modify the registry.
numpy, the elaboration of numarray/numeric, and PythonWin have
RemoveXXX.exe in C:\Python25.

I don't know whether this is the standard approach. There doesn't seem
to be a reference to Removal in the distutils document.

Packages that are create with distutils bdist_wininst command can be removed
using the control panel->add/Software/ Add Remove programs.

This calls RemoveXXX.exe (which is undocumented on purpose).

Thomas
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top