Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to completely uninstall Python 2.7 from Windows 7 PC

Having installed Python 2.7 from here:

https://www.python.org/downloads/release/python-279/

I then uninstalled it using the control panel (I have Windows 7 pro). Now Python 2.7 no longer appears in the list of installed programs, however the files are still sitting in the same place on the C: drive.

I have since installed version 2.6 but I seem to be having some clashing issues between the versions. I'm having similar issues to this guy:

How to completely remove Python from a Windows machine?

I just want to know how can I remove Python 2.7 completely?

Will simply deleting the folders from my C: drive be sufficient?

How can I test that it has been completely removed?

like image 947
Bazman Avatar asked Feb 11 '23 20:02

Bazman


1 Answers

You should just be able to delete the local files if you've already uninstalled from control panel. Also be sure to go to your environment variables and make sure that the python 2.7 directory isn't there. To do that,

  • Go to the start menu and right click on Computer
  • Click on Properties
  • Advanced system settings
  • Environment Variables and look for "path" under system variables
  • Be sure to erase C:\...\Python2.7.x

If you uninstalled from control panel it might not be there but it's probably good to double check. Also, be sure to delete the ; before C:\...\Python2.7.x

like image 56
amhenk Avatar answered Feb 13 '23 10:02

amhenk