How to uninstall Python (2024)

Python is uninstalled differently in Windows, macOS, and Linux.

Windows

To uninstall Python from Windows, follow these steps:

  1. Navigate to the “Control Panel.”
  2. Click “Uninstall a program,” and a list of all the currently installed programs will be displayed.
  3. Select the Python version that you want to uninstall, then click the “Uninstall” button above the list. This has to be done for every Python version installed on the system.

MacOS

For Python 3 and above, first perform the following steps:

  1. Go to the “Finder.”
  2. Click “Applications” in the menu on the left.
  3. Find the Python folder with the version number you want to uninstall, right-click it, and select the “Move to Trash” option.

Depending on the process of installation, Python might or might not be present in the “Applications” folder. If it’s not, perform the steps in the next section.

Removing additional files from the “Terminal”

Moving the Python application to trash will not remove Python entirely. Furthermore, a built-in Python distribution might not appear in the “Applications” folder. So we’ll have to use the “Terminal” to uninstall it manually.

First, open the “Activity Monitor” and close all processes related to Python in the “Memory” tab. One such process is the “Python Launcher.” Now we can proceed to the “Terminal.”

  1. Open the “Terminal” and navigate to your Library folder from your root directory:
$ (base) Username:~ cd Library

Here, we can list the current folders in our Library using the ls command. Look for a folder named Python. Remove this folder with super-user privileges:

sudo rm -rf Python

Note: The operation requires your password in order to be completed.

Additionally, three more main directories have to be handled in order to remove Python. Move back to your root user directory and perform the following commands:

sudo rm -rf “/Applications/Python”sudo rm -rf /Library/Frameworks/Python.frameworksudo rm -rf /usr/local/bin/python

Note: We don’t recommend this step for novice macOS users. The way Python files are distributed in your Library and cache can differ based on your use, and so, extra files might have to be deleted, which you can search for in the “Finder” or manually in the “Terminal.”

How to uninstall Python (2024)
Top Articles
How to Benchmark Your Portfolio
Phantom
Ets Lake Fork Fishing Report
Missed Connections Inland Empire
Tv Guide Bay Area No Cable
Polyhaven Hdri
Teenbeautyfitness
According To The Wall Street Journal Weegy
Mail Healthcare Uiowa
Mndot Road Closures
Devourer Of Gods Resprite
Seth Juszkiewicz Obituary
Full Range 10 Bar Selection Box
Crusader Kings 3 Workshop
Robert Malone é o inventor da vacina mRNA e está certo sobre vacinação de crianças #boato
Trini Sandwich Crossword Clue
7440 Dean Martin Dr Suite 204 Directions
Lonesome Valley Barber
Melissababy
Raz-Plus Literacy Essentials for PreK-6
2021 Volleyball Roster
6 Most Trusted Pheromone perfumes of 2024 for Winning Over Women
Foodsmart Jonesboro Ar Weekly Ad
New Stores Coming To Canton Ohio 2022
Ou Football Brainiacs
Afni Collections
Evil Dead Rise Showtimes Near Sierra Vista Cinemas 16
Leben in Japan – das muss man wissen - Lernen Sie Sprachen online bei italki
Tactical Masters Price Guide
Pokemon Inflamed Red Cheats
Babydepot Registry
Mosley Lane Candles
Datingscout Wantmatures
The Latest: Trump addresses apparent assassination attempt on X
Salons Open Near Me Today
About Us | SEIL
D3 Boards
Dr. John Mathews Jr., MD – Fairfax, VA | Internal Medicine on Doximity
450 Miles Away From Me
State Legislatures Icivics Answer Key
Planet Fitness Santa Clarita Photos
3496 W Little League Dr San Bernardino Ca 92407
Shoecarnival Com Careers
Mitchell Kronish Obituary
Eat Like A King Who's On A Budget Copypasta
Pixel Gun 3D Unblocked Games
3367164101
Elvis Costello announces King Of America & Other Realms
Is Chanel West Coast Pregnant Due Date
Suzanne Olsen Swift River
Download Twitter Video (X), Photo, GIF - Twitter Downloader
Att Corporate Store Location
Latest Posts
Article information

Author: Catherine Tremblay

Last Updated:

Views: 5913

Rating: 4.7 / 5 (47 voted)

Reviews: 94% of readers found this page helpful

Author information

Name: Catherine Tremblay

Birthday: 1999-09-23

Address: Suite 461 73643 Sherril Loaf, Dickinsonland, AZ 47941-2379

Phone: +2678139151039

Job: International Administration Supervisor

Hobby: Dowsing, Snowboarding, Rowing, Beekeeping, Calligraphy, Shooting, Air sports

Introduction: My name is Catherine Tremblay, I am a precious, perfect, tasty, enthusiastic, inexpensive, vast, kind person who loves writing and wants to share my knowledge and understanding with you.