Chocolatey-coreteampackages: choco uninstall python3 does not remove it from the programs and features list

Created on 14 Jul 2016  路  6Comments  路  Source: chocolatey-community/chocolatey-coreteampackages

If you install python and uninstall it, it doesn't remove it from the programs and features list. Not sure if this is a known issue ?

How to reproduce:
choco install python3
choco uninstall python3

see both Python 3.5.1 and Python 3.5.1 Launcher in the windows programs and feature list.

Most helpful comment

@majkinetor answer did not work for me.

What worked for me is uninstalling python package first, then python3. Even though they both are same versions. Idk what is that and this behaviour is totally weird.

Solution:

choco uninstall python
choco uninstall python3

All 6 comments

can confirm above reported issue:

C:\Users\IEUser
位 choco uninstall python3
Uninstalling the following packages:
python3

python3 v3.5.1
 Running auto uninstaller...
 Auto uninstaller failed. Please remove machine installation manually.
 Exit code was 1603
 Auto uninstaller has successfully uninstalled python3 or detected previous uninstall.
 Auto uninstaller has successfully uninstalled python3 or detected previous uninstall.
 Auto uninstaller has successfully uninstalled python3 or detected previous uninstall.
 Auto uninstaller has successfully uninstalled python3 or detected previous uninstall.
 Auto uninstaller has successfully uninstalled python3 or detected previous uninstall.
 Auto uninstaller has successfully uninstalled python3 or detected previous uninstall.
 Auto uninstaller has successfully uninstalled python3 or detected previous uninstall.
 Auto uninstaller failed. Please remove machine installation manually.
 Exit code was 1603
 Auto uninstaller failed. Please remove machine installation manually.
 Exit code was 1603
 Auto uninstaller has successfully uninstalled python3 or detected previous uninstall.
 python3 has been successfully uninstalled.

Chocolatey uninstalled 1/1 packages. 0 packages failed.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

Warnings:
 - python3 -  Auto uninstaller failed. Please remove machine installation manually.
 Exit code was 1603

Programs and Features after choco uninstall python3:

image

Python related .exe files from chocolatey\bin dir are not removed, too:

image

@majkinetor do you know if the recent changes to the python3 package that you did corrected this issue? Thanks!

Here is my output:

PS C:\Users\majkinetor> cuninst python3
Chocolatey v0.10.3

Uninstalling the following packages:
python3

python3 v3.5.2
 Running auto uninstaller...
 Auto uninstaller has successfully uninstalled python3 or detected previous uninstall.
 Skipping auto uninstaller - The application appears to have been uninstalled already by other means.
 Skipping auto uninstaller - The application appears to have been uninstalled already by other means.
 Skipping auto uninstaller - The application appears to have been uninstalled already by other means.
 Skipping auto uninstaller - The application appears to have been uninstalled already by other means.
 Skipping auto uninstaller - The application appears to have been uninstalled already by other means.
 Skipping auto uninstaller - The application appears to have been uninstalled already by other means.
 Skipping auto uninstaller - The application appears to have been uninstalled already by other means.
 Skipping auto uninstaller - The application appears to have been uninstalled already by other means.
 Skipping auto uninstaller - The application appears to have been uninstalled already by other means.
 Skipping auto uninstaller - The application appears to have been uninstalled already by other means.
 Auto uninstaller has successfully uninstalled python3 or detected previous uninstall.
 python3 has been successfully uninstalled.
Environment Vars (like PATH) have changed. Close/reopen your shell to
 see the changes (or in powershell/cmd.exe just type `refreshenv`).

Chocolatey uninstalled 1/1 packages. 0 packages failed.

The uninstaller is gone from Programs & Features too. I am not sure why those additional lines.

@majkinetor perfect, thank you.

@majkinetor answer did not work for me.

What worked for me is uninstalling python package first, then python3. Even though they both are same versions. Idk what is that and this behaviour is totally weird.

Solution:

choco uninstall python
choco uninstall python3
Was this page helpful?
0 / 5 - 0 ratings