How to Uninstall Python

Author: Laura McKinney
Date Of Creation: 3 August 2021
Update Date: 1 July 2024
Anonim
How to uninstall Python 3.9.x from Windows 10
Video: How to uninstall Python 3.9.x from Windows 10

Content

This wikiHow teaches you how to uninstall Python application and related files and folders on your computer.You can do this on both Windows and Mac computers.

Steps

Method 1 of 2: On Windows 10

  1. . Click the Windows logo in the lower left corner of the screen. A menu will pop up.
  2. (Setting). Click the Settings gear icon in the lower left of the Start menu. The Settings window will appear.

  3. Finder. Click the app's icon with a blue face shape in the Mac's Dock.
    • You can also click an empty space on the desktop.
  4. Click Go. This menu item is at the top of the screen. A drop-down menu will appear.

  5. Click Go to Folder ... (Go to directory). This option is near the bottom of the drop-down menu Go. A window will pop up.
  6. Enter the path of the Python installation directory. Depending on the version of Python installed, you need to enter one of the following addresses in the "Go to Folder" text box:
    • With Python 3.6 and above, you type /Library/Frameworks/Python.framework/Versions come in.
    • With Python 2.7, enter / Library / Python / Versions or / Library / Python here.


  7. Click Go at the bottom of the pop-up window. The directory where Python is installed will appear.
  8. Select the folder with the version number in the name. Click on one of the directories with the Python version number in the name.
    • For example, if you want to remove Python 3.6, you need to click on the folder with the number 3.6 to choose.

  9. Click File (File) in the upper left corner of the Mac screen. A drop-down menu will appear.
  10. Click Move to Trash (Transfer to trash). This option is in the drop-down menu File.

  11. Enter your password when prompted. Enter the password that you use to log into your Mac.
    • Skip this step and the next step if the system doesn't ask you to enter a password.
  12. Click OK at the bottom of the password prompt that pops up. The password window will close and the Python folder of your choice will be moved to the trash (Trash).
  13. Delete the Python program if necessary. Not all versions of Python install the program in your Mac's Applications folder, but we should also double-check. You can find and remove Python apps by:
    • Click Go at the top of the screen.
    • Click Applications in the drop-down menu.
    • Look for an application with the word "Python" in the name (eg "Python 3.6").
    • Select the app when you find it.
    • Click File then choose Move to Trash.
    • Enter your password and click OK.
    advertisement

Advice

  • Uninstalling Python 3 will also remove the application from the PATH variable list.

Warning

  • Since it is possible that there are multiple versions of Python on your computer, it may take you a while to completely uninstall Python from your computer.