Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question

migrated from stackoverflow.com Jan 18 '10 at 15:33

This question came from our site for professional and enthusiast programmers.

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
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 Answers 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.

share|improve this answer
    
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 1 '13 at 4:22

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

share|improve this answer

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

share|improve this answer
3  
Seems like way overkill to remove python extensions. –  onnodb Jan 18 '10 at 19:12
    
@onnodb - Pretty much so! XD –  BloodPhilia May 21 '10 at 15:04

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.