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)

  1. Open Control Panel
  2. Click "Uninstall a Program"
  3. 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.

Answer from ArtOfWarfare on Stack Overflow
🌐
Python.org
discuss.python.org › python help
Could you pls tell me how to uninstall python 3.12.4(64 bit) - Python Help - Discussions on Python.org
July 26, 2024 - Hi friends, I tried to install phthon 3.12.4 (64 bit) but I think I failed to install it successfully , as when I uninstalled it , it came with the reminder as attached, so that I can not uninstall it till now , can any…
🌐
Python.org
discuss.python.org › python help
Having problem uninstalling python 3.11.5 to down grade to 3.10.2 - Python Help - Discussions on Python.org
December 23, 2023 - The python when i uninstall says uninstall was successful but its not gone i even restarted my computer to see if its gone still not gone so i can use stable diffusion on my computer but i just used the wrong python any …
🌐
MTU Service Desk
servicedesk.mtu.edu › TDClient › KB › ArticleDet
Installing, uninstalling, or upgrading Python modules using Pip (Linux)
Use the command 'pip3 uninstall <package-name>'. Depending on how the package was installed, you may need to replace the pip3 command with the version of Pip that was used to originally install the package.
🌐
Python
python.org › downloads › release › pymanager-260
Python Release Python install manager 26.0 | Python.org
February 23, 2026 - Removing the install manager will not remove any installs, but the py uninstall --purge command will perform a full cleanup. The Python install manager will automatically update within a day of an update being released.
Find elsewhere
🌐
Collective Cognition Workshop
csc.ucdavis.edu › ~chaos › courses › nlp › Software › Windows › pyuninstall.html
Uninstalling Older Python Versions
Assuming you have an older version X.Y installed, scroll through the list of programs, and for each Python X.Y package that has been installed, select it in the list and click Remove.
Top answer
1 of 5
41

The following commands will remove your make altinstall-ed python:

rm -f /usr/local/bin/python2.7
rm -f /usr/local/bin/pip2.7
rm -f /usr/local/bin/pydoc
rm -rf /usr/local/include/python2.7
rm -f /usr/local/lib/libpython2.7.a
rm -rf /usr/local/lib/python2.7

You might also have to do

rm -f /usr/local/share/man/python2.7.1
rm -rf /usr/local/lib/pkgconfig
rm -f /usr/local/bin/idle
rm -f /usr/local/bin/easy_install-2.7

Although make altinstall has served me well if the "system python" has a different major.minor number from the one you install, it doesn't work that well if only the micro number (the third position) differs. That number is excluded from the installed binary, and you end up with two versions pythonX.Y. This was always a problem but once distributions started shipping with system utilities based on 2.7.X this problem has been more severe as 2.7 is supposed to be the last of the Python2 series.

IMO the best approach to solve this problem is to prevent it from becoming one: configure python to install in a directory not used by any other python. On my system they go under /opt/python/X.Y.Z.

To use any of the Pythons installed there you use [virualenv][1] to make a new environment:

virtualenv --python=/opt/python/2.7.9/bin/python2.7 venv
source venv/bin/activate

or use [virtualenvwrapper][2]. I have some aliases for the latest versions in the series I work with.

If you are using tox for testing against multiple versions (you should) the following alias will help it find the various version:

alias tox='PATH=/opt/python/2.7.9/bin:/opt/python/2.6.9/bin:/opt/python/3.4.3/bin:/opt/python/3.3.6/bin:/opt/python/3.5-dev/bin:$PATH tox'

(these are currently the latest versions, I use a slightly different setup by maintaining links from /opt/python/2.7 to the latest /opt/python/2.7.9, and for the other minor numbers as well, within the process for downloading, building and installing a new python version)

These installs are never used directly. They are always used as the basis for virtualenv environments only, hence I don't care that they are not in my normal PATH.

2 of 5
37

Starting from @Anthon's rm list, and applying @bin-s advice to search for newer files, i came up with this bash-script to completely wipe-out my Python-3.6.6 (which had been installed from sources with make altinstall):

prefix='/usr/local/'
pyver='3.6'

rm -rf \
    $HOME/.local/lib/Python${pyver} \
    ${prefix}bin/python${pyver} \
    ${prefix}bin/python${pyver}-config \
    ${prefix}bin/pip${pyver} \
    ${prefix}bin/pydoc \
    ${prefix}bin/include/python${pyver} \
    ${prefix}lib/libpython${pyver}.a \
    ${prefix}lib/python${pyver} \
    ${prefix}lib/pkgconfig/python-${pyver}.pc \
    ${prefix}lib/libpython${pyver}m.a \
    ${prefix}bin/python${pyver}m \
    ${prefix}bin/2to3-${pyver} \
    ${prefix}bin/python${pyver}m-config \
    ${prefix}bin/idle${pyver} \
    ${prefix}bin/pydoc${pyver} \
    ${prefix}bin/pyvenv-${pyver} \
    ${prefix}share/man/man1/python${pyver}.1 \
    ${prefix}include/python${pyver}m
rm -rI ${prefix}bin/pydoc ## WARN: skip if other pythons in local exist.

Use it with care (e.g. add -I option in rm command, to verify each kill).

🌐
Python.org
discuss.python.org › python help
Removing older versions of Python from iMac - Python Help - Discussions on Python.org
November 30, 2023 - I have 2 Python folders, 3.6 and 3.7 in my applications folder on my iMac. Is there a tutorial that exists anywhere to explain how to safely and reliably remove these versions of Python?
🌐
Python.org
discuss.python.org › python help
Uninstallation command - Python Help - Discussions on Python.org
August 29, 2023 - I need a windows sillent python uninstallation command.Kindly help me on this issue. Thanks in advance.
🌐
Educative
educative.io › answers › how-to-uninstall-python
How to uninstall Python
Click “Uninstall a program,” and a list of all the currently installed programs will be displayed. Select the Python version that you want to uninstall, then click the “Uninstall” button above the list.
🌐
Cloudinary
cloudinary.com › home › how do i uninstall python (without breaking everything)?
How Do I Uninstall Python (Without Breaking Everything)?
August 19, 2025 - Look for Python 3.X (multiple entries if you installed multiple versions). Click Uninstall.
🌐
Nektony
nektony.com › home › how to › how to uninstall python from mac: a complete guide
How to uninstall Python on Mac (3 proven methods)
October 10, 2025 - If you face issues when trying to get rid of Python, read this step-by-step guide on how to safely uninstall Python on your Mac with all of its files.
🌐
Leapcell
leapcell.io › blog › how-to-uninstall-python-a-comprehensive-guide
How to Uninstall Python: A Comprehensive Guide | Leapcell
July 25, 2025 - Find Python: Scroll through the list or use the search bar to locate Python. Uninstall: Click on Python, then select "Uninstall" and follow the on-screen prompts.
🌐
Python
python.org › downloads › release › pymanager-252
Python Release Python install manager 25.2 | Python.org
Removing the install manager will not remove any installs, but the py uninstall --purge command will perform a full cleanup. The Python install manager will automatically update within a day of an update being released.