Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Problems in fully uninstalling Python 2.7 from Windows 7

Tags:

python

some months ago, I installed Python 2.7 on my laptop (my os is Windows 7). After, I decided to use Python xy 2.7.3 instead of 'pure' Python; so, as suggested, I removed Python 2.7 and tried to install Python xy 2.7.3. However, when I tried to run the .exe file for installation, a warning window appears telling me that Python 2.7 is already installed on my computer. I tried to install a different version of Python xy (2.6) and everything went fine; however, I'd really prefer to use the latest version of Python xy. Actually, I can't figure out what went wrong whie uninstalling Python 2.7; does someone have any clue? I can tell you that I followed the 'normal' procedure for programm uninstalltion; control panel -> Programs -> Remove Program

Thanks in advance

Stefano

like image 683
MrWonka984 Avatar asked Apr 05 '13 07:04

MrWonka984


1 Answers

Run regedit, backup and delete the registry keys:

HKEY_LOCAL_MACHINE\Software\Python\

HKEY_CURRENT_USER\Software\Python

My problem occurred when changing from Canopy to Python(x,y). So, also delete all folders that are left behind when uninstalling. https://support.enthought.com/entries/23580651-Uninstalling-Canopy

like image 172
Daniel Avatar answered Sep 16 '22 19:09

Daniel