4

I installed several Python extensions, and now I tried to uninstall them. I simply went to C:\Python26, and then clicked the uninstall executable, e.g. Removeelementtree.exe. However, I got a runtime error dialog, saying "This program is normally started by Windows".

Can anyone help me?

  • 3
    use standard windows Add or Remove Programmes. – SilentGhost Jan 18 '10 at 15:28
  • 3
    Uninstall Python? Why would you do such a thing?! – Phoshi Jan 18 '10 at 15:39
  • Listen to SilentGhost and give the normal Add or Remove a shot, since I can't find any hits on your error dialog – Ivo Flipse Jan 18 '10 at 15:53
  • Plus what Windows version are you using? – Ivo Flipse Jan 18 '10 at 15:54
  • 1
    Besides, if you want to take ownership of your question back, create an account on this site, and associate it with the StackOverflow account, in user options. – Gnoupi Jan 18 '10 at 15:55
  • 1
    All of the python extensions I've installed put an entry in the "Add or Remove Programs" control panel of the form "Python 2.5 numpy" or something similar and can be removed via that panel without completely removing Python. – Mokubai May 21 '10 at 17:23

3 Answers3

3

You have to feed the installation log file to Removeelementtree.exe, for your case it should be:

Removeelementtree.exe -u "C:\Python27\elementtree-wininst.log"

The complete uninstall command is mentioned in the log, the file is having this pattern: [distribution]-wininst.log and located under your Python directory.

  • thank you for this command line! I've been testing a python distutils created installer and have gotten very tired of having to click through 'add or remove programs' for uninstalling every 10 minutes. The other popular command line on the net for uninstalling, `wmic product where name="%myproductname%" call uninstall`, is waaay too slow. :) – matt wilkie Jun 01 '13 at 04:22
0

If Add/remove programs does not work, try Revo uninstaller.

RJFalconer
  • 10,195
  • 4
  • 43
  • 51
-2

start -> all program -> accessories -> system tools -> system restore -> choose a date prior to installation of python

Willy
  • 78
  • 2