As well, you can look in the windows registry in the Uninstall key (but need to find the specific key for your python installer)
# this registry key is for version 3.9.12 (but the only thing that would change on other versions would be the final key name: the GUID) HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{33807E24-D0B9-45A0-A48D-51A432CD27E8} Once you have found the registry key for Python, look at the UninstallString value: Which is this for one of my PCs: MsiExec.exe /I{33807E24-D0B9-45A0-A48D-51A432CD27E8} From there, you could add a /q or /quiet for a quiet uninstall… For more help with the windows MSIEXEC util, run msiexec /? And it will give you a lot of help/switches I hope that between these 2 answers, we have given you everything you need. Steven From: python-win32 <python-win32-bounces+steven=manross....@python.org> On Behalf Of Bob Kline Sent: Wednesday, September 20, 2023 12:32 PM To: Sujith R <jerinsujit...@gmail.com> Cc: python-win32@python.org Subject: Re: [python-win32] Uninstallation Command Required Depends on how it was installed. If you used the installer from python.org<http://python.org>, it might look like this: python-3.11.1-amd64.exe /uninstall /quiet > uninstall.log (Adjust the name of the executable to match the version you installed.) If you used some other distribution (for example, from ActiveState) follow the instructions provided by that distributor. On Wed, Sep 20, 2023 at 3:19 PM Sujith R <jerinsujit...@gmail.com<mailto:jerinsujit...@gmail.com>> wrote: Hi Team, I need to uninstall python via windows command prompt. I tried lots of various commands but it’s not worked well. Can you please help me to solve this issue. SUMMARY: Need a proper uninstall command for windows Thanks in advance. _______________________________________________ python-win32 mailing list python-win32@python.org<mailto:python-win32@python.org> https://mail.python.org/mailman/listinfo/python-win32 -- Bob Kline https://www.rksystems.com mailto:bkl...@rksystems.com<mailto:bkl...@rksystems.com>
_______________________________________________ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32