How to Completely Uninstall Python From Windows

Lakshay Kapoor Feb 02, 2024
  1. Permanently Unistall Python Using the Control Panel
  2. Permanently Uninstall Python Using the Command Prompt
How to Completely Uninstall Python From Windows

Python software has many bugs that need fixing from time to time. There are also many types of packages and libraries in Python that get outdated. Due to these reasons, it’s always necessary to uninstall the old Python software version and download the updated one to make the most of it, while writing any program. Hence, there are different ways to uninstall the Python software’s older version in different operating systems like Mac, Windows, and Linux.

This tutorial focuses more on demonstrating how to uninstall the Python Software from a Windows device permanently.

Permanently Unistall Python Using the Control Panel

  • Check for the Installed Python Version.

    You can use your system’s command prompt to check the installed Python software on your device. Type the following command to see the installed version that is present in the system and press enter.

    python - V
    

    After pressing Enter, the current version of the Python software will be returned. Below is the output.

    python 2.7.0
    
  • Use the Control Panel to Uninstall Python.

    Go to the control panel from the Window’s taskbar. After opening the control panel, select the option Uninstall a Program. A list of all the programs that are presently installed on the computer will appear. After that, search Python on the search bar. Upon searching, the Python software with its current version will be displayed. Finally, select the uninstall option to uninstall the software.

  • Re-check for Installed Python Versions.

    Again type the command mentioned in STEP 1 in the command prompt to check whether the Python Software is still installed or not. After pressing Enter, the following statement should be displayed by the command prompt.

    'python' is not recognized as an internal or external command, operable program, or batch file.
    

Note that these steps are valid for any version of Python installed on the computer, like Python 2.7.0, Python 3.7.0, or any other.

Permanently Uninstall Python Using the Command Prompt

  • Open the command prompt of the Windows system.
  • Define a proper path to access the Python file using the cd keyword in the command prompt. Look at the guide below.
    cd C:\Users\Name\Library\FileName\Python
    
  • Use the del keyword to delete the Python file after accessing it and press Enter.
    del python2.exe
    

After running the command above, any other Python versions can be installed using any open source such as Anaconda Navigator.

Lakshay Kapoor avatar Lakshay Kapoor avatar

Lakshay Kapoor is a final year B.Tech Computer Science student at Amity University Noida. He is familiar with programming languages and their real-world applications (Python/R/C++). Deeply interested in the area of Data Sciences and Machine Learning.

LinkedIn

Related Article - Python Uninstall