installation – How to completely remove Python from a Windows machine?

installation – How to completely remove Python from a Windows machine?

Heres the steps (my non-computer-savvy girlfriend had to figure this one out for me, but unlike all the far more complicated processes one can find online, this one works)

  1. Open Control Panel
  2. Click Uninstall a Program
  3. Scroll down to Python and click uninstall for each version you dont want anymore.

This works on Windows 7 out of the box, no additional programs or scripts required.

You will also have to look in your system path. Python puts itself there and does not remove itself: http://www.computerhope.com/issues/ch000549.htm

Your problems probably started because your python path is pointing to the wrong one.

installation – How to completely remove Python from a Windows machine?

you can delete it manually.

  1. open Command Prompt
  2. cd C:Users<you name>AppDataLocalMicrosoftWindowsApps
  3. del python.exe
  4. del python3.exe

Now the command prompt wont be showing it anymore

where python –> yields nothing, and you are free to install another version from source / anaconda and (after adding its address to Environment Variables -> Path) you will find that very python you just installed

Leave a Reply

Your email address will not be published.