I am using window 10 version 22H2.
I currently have python 3.10.6 that i want to remove. At first when i try to uninstall it. the uninstaller simply say success a second later. I type python on my search bar and it still there. i tried it multiple to uninstall through "add or remove program" still same thing. a second gone by and it simply say "success" but i check the installation at the default path in appdata that the python/python 3.10 file is still there. then i manually delete the python folder and it subfolder. i check back on search bar and it is still present but when i type on python on cmd it direct me to python on window store. I check back "add or remove program" Python is still there but the uninstall/modify button is greyed out.
Next, i consult chatgpt and it told me that i can try to remove python from enviroment path. I remove two entries of it. then i check back and python is still available on my search bar. Next chat gpt told me to go try CC cleaner and enable "Old prefatch data" then i run registry on CCleaner and it does it thing. I check python on "add or remove program" and python is no longer present and also not present in the search bar. I open python 3.10.6 to reinstall it. it said that python 3.10 is already present.
Next, i check to regedit and remove python. i check and i found under HKEY_LOCAL_MACHINE\SOFTWARE\Python there is a folder call "PythonCore" i ask chatgpt whether it save to delete and it say yes thus i delete it. It still say python is install when i try to install python.
Next, Chatgpt recommend me using Revo uninstaller. i install it and python is not in the list to uninstall. At this point i am completely clueless on what to do next. Any help would be appreciated. English is not my primary language so i am sorry if got any grammatical error and such.
Here's 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)
- Open Control Panel
- Click "Uninstall a Program"
- Scroll down to Python and click uninstall for each version you don't 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.
Could you pls tell me how to uninstall python 3.12.4(64 bit)
How to uninstall python installed from the microsoft store?
Having problem uninstalling python 3.11.5 to down grade to 3.10.2
Unable to unistall python from the system - fatal error during installation - Stack Overflow
Videos
Solution:
UNHIDE ALL FOLDERS BEFORE FOLLOWING DOWN...
- Go to C:\Users\%USERNAME%\AppData\Local\Programs
- Delete Python Folder
- Go to Control Panel >> Uninstall a Program
- Right Click on Python and then Change/Modify
- Click on Repair Python. Note: This may or may not fail, but be patient
- Now Again go to step 3
- Now, after step 3, uninstall Python
Now you should be able to install a new fresh version.
It's also possible to execute the python3 installer again, you get option to repair or uninstall. Just choose uninstall, it will be done properly.
I would suggest repairing instead of installing. Deleting folders from your system would cause issues with the uninstallation process trying to find and delete all python on your system. Your best bet is to repair it to a working state, then delete it so the uninstall program finds everything and deleted everything properly. Don't delete anything on your own.
Go to the Python Installer of the version you are trying to uninstall. When you run the setup select Repair from Modify, Repair, Uninstall.
After that you can uninstall whichever Python version you are trying to uninstall.
I ran into the same issue just now and found that I had to repair that version of python before I could uninstall it.
- Open the system Control Panel > Programs and Features
- Find the version of Python you want to uninstall
- Right-click > Change (not Uninstall)
- The Python Setup window will open and you want to select Repair.
- Let it run until complete. At which point you should be able to return the Programs and Features window and uninstall
I just cleared out a handful of version that I must have tried to manually delete at some point which likely caused this issue in the first place.
1.Type Control Panel in the taskbar on your desktop or ask Cortana to open the Control Panel. 2.Click on Programs, then open Programs and Features. 3.Find the program you want to uninstall and right-click on it. 4.Select the Uninstall or Uninstall/Change button, whichever appears.
Here you can remove Python fully from your computer and you can install another version or whatever you want!
Your python3 and python3.6 binaries1 are installed in /usr/local/bin which is not the default location and dpkg (or APT) does not know about them. So they weren’t most likely installed by dpkg or APT. To uninstall them, just remove them from the /usr/local/bin folder.
Preliminary check
I recommend to rename them first:
sudo mv /usr/local/bin/python3 /usr/local/bin/python3.bak
sudo mv /usr/local/bin/python3.6 /usr/local/bin/python3.6.bak
Then check whether the version installed by APT kicks in when you run python3:
python3 --version # expected output: Python 3.5.2
If this check succeeds, you can safely remove the files /usr/local/bin/python3.bak and /usr/local/bin/python3.6.bak.
1 In fact, one file might be a symlink to the other.
I suppose you could use :
sudo -i to get to your root
and then using:
apt purge python3-minimal for example.
I did this today and it worked for as far as I can tell.
Good luck