. Advertisement .
. Advertisement .
Even if you have installed Python on your Windows machine, there are still many things that can happen that can cause you to totally uninstall Python. If you ever have to uninstall Python on your machine totally, you will need to make sure that you do this correctly. In this post, we will look at different ways to uninstall Python from Windows machine totally.
How Can You Totally Uninstall Python From Windows?
Option 1: Utilizing control panel
Use the steps below to uninstall Python from Windows.
1. Firstly, go to the control panel and open it.
2. Then, to remove it, go to “uninstall a program”.
3. After which, for each version you don’t want, go to Python and select uninstall.
Option 2: Manually
Simply follow these steps:
1. To begin with, access your Command Prompt.
2. Then, use this: cd C:\Users\<you name>\AppData\Local\Microsoft\WindowsApps.
3. Then, delete the
4. Next, remove the
Python will be completely uninstalled after completing these steps.
Option 3: Utilizing CMD
Here’s what to do.
1. Firstly, open CMD.
2. After which, click this: pip list to see all installed packages.
3. Then, type pip freeze > requirements.txt to save the package name to a file.
4. Next, using pip uninstall
-r requirements.txt -y, remove all of the packages.
5. All of the packages are deleted from the pip list check.
6. Now, remove pip and any remaining packages.
Option 4: Utilizing the command prompt
Excepting the above methods, there is another solution to uninstall Python from Windows. It is using the command prompt. Although this way is very simple and easy, its efficiency is very enormous. Let’s follow these steps:
1. The first step is opening the Windows system’s command prompt.
2. The second step is utilizing the
cd keyword of the command prompt to specify a appropriate path to access the files of Python. Let’s follow this guide:
3. After accessing the Python file, use the
del keyword to remove it, then press Enter.
Any additional Python versions can be installed by using any open source after running the aforementioned command, such as
We hope you enjoyed our blog about how to uninstall Python from Windows. If you have any other questions or concerns about this issue, please leave a comment below. Thank you for reading; we are always excited when one of our posts can provide useful information on a topic like this!
Leave a comment