Completely uninstall Python from Windows
Python software has many bugs that need to be fixed from time to time. There are also many types of packages and libraries in Python that are outdated. Due to these reasons, when writing any program, it is always necessary to uninstall the old Python software version and download the updated software version to make the best use of it. Therefore, there are different ways to uninstall the old version of Python software in different operating systems such as Mac, Windows, and Linux.
This tutorial focuses more on demonstrating how to permanently uninstall the Python software from a Windows device.
Permanently uninstall Python using the Control Panel
-
Check the installed Python version.
You can check the installed Python software on your device using your system’s command prompt. Type the following command to view the installed versions present in your system and press Enter.
python -V
After pressing Enter, it will return the current version of Python software. Below is the output.
python 2.7.0
-
Uninstall Python using the Control Panel.
Go to the Control Panel from the taskbar of the window. Once the Control Panel is open, select
卸载程序
the option. A list of all the programs currently installed on your computer will appear. After that, search for it on the search barPython
. After searching, the current version of Python software will be displayed. Finally, select卸载
the option to uninstall the software. -
Recheck the installed Python version.
Type the command mentioned in step 1 again in the command prompt to check if the Python software is still installed. After pressing Enter, the command prompt should display the following statement.
'python' is not recognized as an internal or external command, operable program, or batch file.
Note that these steps apply to any version of Python installed on your computer, such as Python 2.7.0
, Python 3.7.0
or any other version.
Permanently uninstall Python using Command Prompt
- Open the Windows command prompt.
-
Define the correct path to access Python files using the keyword in the command prompt
cd
. Check out the guide below.cd C:\Users\Name\Library\FileName\Python
-
After accessing the Python file,
del
delete it using the keyword and then pressEnter。del python2.exe
After running the above command, you can Anaconda Navigator
install any other Python version using any open source software such as .
For reprinting, please send an email to 1244347461@qq.com for approval. After obtaining the author's consent, kindly include the source as a link.
Related Articles
Implementing a Low-Pass Filter in Python
Publish Date:2025/05/07 Views:89 Category:Python
-
Low pass filter is a term in signal processing basics and is often used to filter signals to obtain more accurate results. This tutorial will discuss the low-pass filter and how to create and implement it in Python. A low-pass filter is use
Implementing Curl command in Python using requests module
Publish Date:2025/05/07 Views:97 Category:Python
-
requests This article will discuss and implement different curl commands using the module in Python . requests Installing modules in Python Python provides us with requests the module to execute curl command. Install it in Python 3 using Pi
Using fetchall() in Python to extract elements from a database
Publish Date:2025/05/07 Views:171 Category:Python
-
This article aims to describe fetchall() the working methods of extracting elements from a database using and how to display them correctly. This article will also discuss list(cursor) how functions can be used in programs. fetchall() Extra
Parsing log files in Python
Publish Date:2025/05/07 Views:106 Category:Python
-
Log files contain information about events that occurred during the operation of a software system or application. These events include errors, requests made by users, bugs, etc. Developers can further scan these usage details to find poten
Declaring a variable without a value in Python
Publish Date:2025/05/07 Views:57 Category:Python
-
A variable is a reserved memory location that can store some value. In other words, variables in a Python program provide data to the computer to process operations. Every value in Python has a data type. There are numbers, lists, tuples, e
Defining class global variables in Python
Publish Date:2025/05/07 Views:81 Category:Python
-
A global variable is a variable that is visible and available in every part of the program. Global variables are also not defined in any function or method. On the other hand, local variables are defined in functions and can be used only in
Incrementing loop step by 2 in Python
Publish Date:2025/05/07 Views:199 Category:Python
-
In each iteration, for the loop increases the counter variable by a constant. A loop with the sequence 0, 2, 4, 6 for will increase the counter variable by 2 each iteration. This article will show you some for ways to increment by 2 in a lo
Pool map with multiple parameters in Python
Publish Date:2025/05/07 Views:104 Category:Python
-
multiprocessing This article will explain different ways to perform parallel function execution using the module in Python . multiprocessing The module provides functionality to perform parallel function execution using multiple inputs and
Python if...else in Lambda function
Publish Date:2025/05/07 Views:68 Category:Python
-
lambda Functions are used to implement some simple logic in Python and can be thought of as anonymous functions. It can have multiple parameters but only one expression, just def like any other function defined using the keyword. We can def