I am using the 64-bit version of Windows 8.1. I had 2.7.11 and then I tried installing PIP also through the Chocolatey PIP package .
I think my installation was messed up because I was trying to install Python 3.4 as well as Python 2.
Then I deleted all the Python 2 and Python 3 files, trying to get rid of this.
What worked for me:
- Editing environment variables of both System and User to remove any
PYTHONHOME or PYTHONPATH variables - I also deleted the path that I had to python2 in the PATH environment variable
- Now (as mentioned in the Python Issue 22329 ), after deleting the environment variables, you can go to "Programs and Features", click Python 2.7.11 (64-bit), and then click "Restore" - this worked as I would expect without mistakes.
- Now, finally, I was able to go to "Programs and Features", click on Python 2.7.11 (64-bit), and then "Uninstall."
Change I believe this is due to this PYTHON_HOME answer to the problem with Python 3.4
icc97 source share