You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Can't uninstall with Windows. Trying reports that uninstalling is only possible for products installed. #99685
Trying to uninstall any of the installed Python versions
Python 3.6.8
Python 3.7.9
Python 3.8.10
Python 3.9.13
Python 3.10.8
Python 3.11.0rc2
Will give back error message: Uninstalling is only possible for products installed.
All of the above are installed. All have tons of registry entries. All are working as expected.
Trying to upgrade leads to starting install, then rolling back to what was before.
Cant uninstall.
Cant upgrade.
Your environment
CPython versions tested on (they are installed side by side):
3.6
3.7
3.8
3.9
3.10
3.11
Operating system and architecture: all Windows 10
Within the registry I could find uninstall strings just giving back the very same message:
This is a problem with all installers provided by python.org. They install the uninstall into the account installing, but do not register these uninstallers the way windows wants it to make it appear within installed Programs and Features or installed Applications and Features. Mainly because the one who wants to uninstall does not have access to the registry hives the one whom installed created. Second: these registry hives may just not be loaded, because they are private to the account whom installed! It is a bit a mess: the subproducts are installed and registered globally, but not registered to show up within installed programs, while the main installation is only registered for the account who initiated installation and is not seen by any other account. Regardless of installing for all users or not.
I found two ways to uninstall:
Find the uninstallers by looking for something like *python*.{exe|msi} within all accounts able to install software. You need access to these accounts indeed! Something like dir c:\Users\*python*.msi /s/b or dir c:\Users\*python*.exe /s/b might help. Then call what you found adding /uninstall. It will remove the python version given within its name.
Find the python version installer for the python version installed and call it adding /uninstall. It will remove the python version it installed.
in both cases the uninstaller will be removed from the system too, but only if you have access from the account your calling the uninstall from. If not it will remain. Bad: if the one who installed once wants now to get rid of the entry found within his Programs and Featres he/she will only have an error message stating there was an error uninstalling. Leaving the registered uninstaller untouched. It seems the initiated uninstall does not find the globally installed log for uninstalling any more.
This is a bug lasting for alt least for years now. Think it would be nice if it were fixed.
The installer referred to in this issue has now been removed (#153511), and so this issue is expired. Please use the Python install manager to install Python, and file any issues on the pymanager repo.
Activity
ericvsmith commentedon Nov 22, 2022
How were these installed? Did you download them from python.org, or get them elsewhere?
tps800 commentedon Nov 27, 2022
This is a problem with all installers provided by python.org. They install the uninstall into the account installing, but do not register these uninstallers the way windows wants it to make it appear within installed Programs and Features or installed Applications and Features. Mainly because the one who wants to uninstall does not have access to the registry hives the one whom installed created. Second: these registry hives may just not be loaded, because they are private to the account whom installed! It is a bit a mess: the subproducts are installed and registered globally, but not registered to show up within installed programs, while the main installation is only registered for the account who initiated installation and is not seen by any other account. Regardless of installing for all users or not.
I found two ways to uninstall:
*python*.{exe|msi}within all accounts able to install software. You need access to these accounts indeed! Something likedir c:\Users\*python*.msi /s/bordir c:\Users\*python*.exe /s/bmight help. Then call what you found adding/uninstall. It will remove the python version given within its name./uninstall. It will remove the python version it installed.in both cases the uninstaller will be removed from the system too, but only if you have access from the account your calling the uninstall from. If not it will remain. Bad: if the one who installed once wants now to get rid of the entry found within his Programs and Featres he/she will only have an error message stating there was an error uninstalling. Leaving the registered uninstaller untouched. It seems the initiated uninstall does not find the globally installed log for uninstalling any more.
This is a bug lasting for alt least for years now. Think it would be nice if it were fixed.
tps800 commentedon Nov 27, 2022
Refer to bug #69353
zooba commentedon Jul 20, 2026
The installer referred to in this issue has now been removed (#153511), and so this issue is expired. Please use the Python install manager to install Python, and file any issues on the pymanager repo.