Remove all existing python
Method 1: If the corresponding installation package is still there, double-click to run the installation package, and the following page will appear:
Click on the third option Uninstall
Method 2: Find the application with python in Applications and Functions in Settings:
Settings -> App -> Installed apps
Find all applications with python
Click uninstall in "..."
Method 3: Uninstall the application with python in the control panel
Press Win+R -> Enter control -> Click OK
Click to uninstall a program
Find all apps with python
Right click to uninstall uninstall
Delete all related files and folders of python
If you know the location of the folder, find it and right-click to delete it.
It may be placed in your default path. You can check the following three types on your computer. If not, it may have been deleted when completing the above uninstall steps. Don’t panic~
- C:\Users\yourusername\AppData\Local\Microsoft\WindowsApps
- C:\Program Files
- C:\Program Files (x86)
Confirm whether python is deleted cleanly
Press Win+R -> enter cmd -> click OK
Enter python (if an error message is reported, the uninstallation is completed)
Then enter where python, two situations will occur:
Situation 1: Error reported, uninstallation successful! ! !
Situation 2: A path appears, similar to the picture below or C:\Users\your username\AppData\Local\Microsoft\WindowsApps
Go to this path and you will find that there is a python.exe file. If you right-click and delete it directly, an error box may appear. Even restarting will not help. Don’t worry, the solution is as follows:
Press Win+R -> enter cmd -> click OK
Enter del /f/s/q just the path , as shown in the figure:
Enter where python again to see if an error is reported. The error indicates that the deletion was successful!
Install python tutorial
Go to the python official website to download the installation package: Welcome to Python.org
Click the Downloads button
Click the Windows button
It is recommended that you download the latest version. Old versions will have many problems, and make sure your computer is 64-bit or 32-bit. Most laptops are now 64-bit, but to be on the safe side, you should check your computer configuration. For example, I want Download version 3.10.9 so choose:
Download will start in the upper right corner
After downloading, go to your Downloads folder and double-click the installation package you just downloaded.
If a question box pops up at this moment, just click yes:
Because python is already installed on my computer, I will continue to update after the installation tutorial~ If you have any questions, please call me like crazy~