Today, Mytour will guide you through the process of removing Python and its associated files and folders from your computer. This tutorial is applicable to both Windows and Mac operating systems.
Steps
On Windows 10





Click on the Apps (Applications) section located in the middle of the Settings window.

Locate the Python version you wish to uninstall. Scroll down to the section labeled with the letter 'P' and look for an application with 'Python' in its name (e.g., 'Python 3.6').
- You may need to first click on the Apps & features tab located in the upper-left corner of the window.

Click on the Python version name. This will expand the section and reveal the Uninstall button.

Click the Uninstall button below the Python version name.

Click Uninstall when prompted. This option will appear at the top of the Python version name.

Click Yes when the option appears to confirm that you want to uninstall Python.

Allow Python to uninstall. A window will pop up with a progress bar; once the progress bar fills and disappears, Python will have been successfully uninstalled.
- You may need to click on prompts that appear as part of the uninstallation process.

Uninstall other Python versions if necessary. Since multiple versions of Python are often installed simultaneously, check the 'P' section of installed applications for any remaining Python versions. If additional versions are found, repeat the steps above to uninstall them as needed.
- You might also want to remove the Python Launcher application.

Delete the Python 2 folder. While uninstalling Python 3 removes its associated folders, the Python 2 directory remains even after uninstallation. To delete the Python 2 folder, follow these steps:
- Open This PC.
- Double-click on the hard drive under 'Devices and drives'.
- Locate the 'Python27' folder (or similar) in the directory list.
- Select the Python folder, right-click, and a dropdown menu will appear.
- Click Delete in the dropdown menu.
On Mac


- You can also click on an empty area of the desktop screen.

Click on Go. This menu option is located at the top of the screen. A dropdown menu will appear.

Click on Go to Folder…. This option is near the bottom of the Go dropdown menu. A pop-up window will appear.

Enter the path to the Python installation folder. Depending on the installed Python version, input one of the following addresses into the "Go to Folder" text box:
- For Python 3.6 and above, type /Library/Frameworks/Python.framework/Versions.
- For Python 2.7, type /Library/Python/Versions or /Library/Python.

Click on Go at the bottom of the pop-up window. The folder where Python is installed will open.

Select the folder with the version number in its name. Click on one of the folders that includes the Python version number in its name.
- For example, if you want to remove Python 3.6, click on the folder labeled 3.6 to select it.

Click on File in the top-left corner of your Mac screen. A dropdown menu will appear.

Click on Move to Trash. This option is located within the File dropdown menu.

Enter your password when prompted. Input the password you use to log into your Mac.
- Skip this step and the next if the system does not require a password.

Click OK at the bottom of the password prompt. The password window will close, and the selected Python folder will be moved to the Trash.

Delete the Python application if necessary. Not all Python versions install an application in the Mac's Applications folder, but it's worth checking. You can locate and remove the Python application by:
- Clicking Go at the top of the screen.
- Selecting Applications from the dropdown menu.
- Searching for an application with "Python" in its name (e.g., "Python 3.6").
- Selecting the application once found.
- Clicking File and choosing Move to Trash.
- Entering your password and clicking OK.
Tips
- Uninstalling Python 3 will also remove the application from the PATH variable list.
Warnings
- Since multiple Python versions might be installed on your computer, it may take some time to completely remove Python from your system.
