Uninstall Python 3.8 Mac



Python is a widely used open-source programming language which is relatively easily picked up by both first-time and experienced programmers with other languages under their belt. Dedicated Python application for Mac enables its users to program concepts with fewer lines of code. It also comes bundled with IDLE app, which is your development environment, Python Launcher to handle scripts, and Build Applet to package those scripts on a Mac. The macOS application comes into two versions — the legacy Python 2.7 and the newer Python 3.6. The earlier version is a stable, but older release. The newer Python 3.x, however, benefits from recent library improvements and is properly optimized for the latest macOS version.

  1. Uninstall Python 3.8 Mac
  2. Uninstall Python 3.8 Mac Operating System

Whether you are looking to install a more recent version of Python or get rid of your application for good, the guides below will walk you through the process.

How to Uninstall Python 3.6 Mac

Python is a popular programming language that is widely used by beginners and longtime developers alike. Modern Mac OS versions come with Python 2.7.x installed (or Python 2.6.1 if an older Mac OS X version), but many Python users may need to update Python in Mac OS to a newer version like Python 3.8.x or newer. Mac 卸载干净python3.7. Mac 默认安装了python2;自己后面又安装了python3;为了方便,现在想将python3换成Anaconda3.

But keep it in mind that, the regular Python removal way will leave a mess of orphaned app junk on your Mac. Here are the detailed steps that help thoroughly uninstall Python on your Mac (How Uninstall Homebrew Package & Caches on Mac). Step 1: Quit the Python Launcher and IDLE application and kill all running processes of Python in the background. Mac 卸载干净python3.7. Mac 默认安装了python2;自己后面又安装了python3;为了方便,现在想将python3换成Anaconda3. Notice that we entered python3 and not just python. If you enter python –version, you will get a different version number i.e., the Python 2 version. At this point, we don’t recommend removing Python 2 from macOS since there are still a few kinks that Python 3 and pip have on the Mac platform.

Uninstall Python 3.8 Mac

Before attempting an uninstall, it is advised to quit Python and all related processes. If you have only one of the Python apps running, you can simply ctrl-click the application and choose Quit to exit. To make shutting down of multiple processes faster, open Activity Monitor by hitting Command-Space bar and searching for the built-in utility using Spotlight Search. In Activity Monitor search for Python to find complementary processes. Choose a process and click X button and then Quit, or Force Quit for a terminal method when the process does not respond.

Now let’s take on the app removal. To uninstall Python apps from your Mac you will have to:

  • Open Finder and go to Applications
  • Select Python 3.6 folder
  • Move the folder to Trash
  • Ctrl-click the Trash bin and select Empty Trash
Uninstall

This helps delete the core application from your Apple computer, but does not do anything about the files it leaves behind on Mac’s drive. Despite the fact that leftovers don’t take much space, removing them may be a smart move when attempting a fresh install of a newer version of Python.

  • Open Finder
  • Hold Shift-Command-G to open Go to the Folder
  • Paste each of the following directories and look for all items containing python in the name:
    • ~/Library/Preferences/
    • ~/Library/Saved Application State/
    • /Library/Frameworks/Python.framework/Versions/3.6/
  • Select all related files/folders and move them to Trash
  • Ctrl-click the bin and Empty Trash

How to Uninstall Python 2.7 on Mac

Generally, the approach to uninstallation of Python 2.7 from Mac shares a lot of similarities with the one described above. Shut down all running python processes on your Mac before you attempt to remove the application folder. You can either follow the method laid out above, or take a shortcut and grab MacFly Pro to spare yourself the handpicking.

  • Launch MacFly Pro and select Apps
  • Hit Scan to get a list of applications installed on your Mac
  • Select IDLE.app, Python Launcher.app, Build Applet.app from the list
  • Click Uninstall Selected to remove the apps along with all leftover data
  • Open Finder>Applications and move Python 2.7 folder to Trash

Alternatively, follow these steps if you feel like taking the matter into your own hands:

  • Open Finder and go to Applications
  • Select Python 2.7 folder
  • Move the folder to Trash
  • Ctrl-click the Trash bin and select Empty Trash

Upon uninstalling core python apps, proceed to locating its leftover files:

  • Open Finder
  • Hold Shift-Command-G to open Go to the Folder
  • Paste each of the following directories and look for all items containing python in the name:
    • ~/Library/Preferences/
    • ~/Library/Saved Application State/
    • /Library/Frameworks/Python.framework/Versions/2.7/
  • Select all related files/folders and move them to Trash
  • Ctrl-click the bin and Empty Trash

On a final note, this guide explains a convenient approach meant to help an average user cope with the uninstallation process by one’s own efforts. Advanced users may find it easier to remove python package using Terminal commands.

Usage¶

Description¶

Uninstall packages.

pip is able to uninstall most installed packages. Known exceptions are:

  • Pure distutils packages installed with pythonsetup.pyinstall, whichleave behind no metadata to determine what files were installed.

  • Script wrappers installed by pythonsetup.pydevelop.

Options¶

-r, --requirement <file>

Uninstall all the packages listed in the given requirements file. This option can be used multiple times.

-y, --yes

Don’t ask for confirmation of uninstall deletions.

Examples¶

  1. Uninstall a package.

Important

Did this article help?

Uninstall Python 3.8 Mac

We are currently doing research to improve pip’s documentationand would love your feedback.Please ?subject=[Doc: reference/pip_uninstall] Pip docs feedback (URL: https://) &body=%0A%20%20%20%200.%20Document:%20reference/pip_uninstall.%20Page%20URL:%20https://%20%0A%0A%20%20%20%201.%20What%20problem%20were%20you%20trying%20to%20solve%20when%20you%20came%20to%20this%20page?%20%0A%0A%20%20%20%202.%20What%20content%20was%20useful?%20%0A%0A%20%20%20%203.%20What%20content%20was%20not%20useful?'>email us and let us know:

Uninstall Python 3.8 Mac Operating System

  1. What problem were you trying to solve when you came to this page?

  2. What content was useful?

  3. What content was not useful?