Remove Mac Apps

Remove Mac Apps

A Technical Site Providing Uninstall Tutorial For Mac OS X

Uninstall Tutorials

How to Uninstall Python for Mac? Check out This Guide

  • Catherine
  • Nov 13,2018
  • 54

“Have problems in uninstalling Python on your Mac?
Can’t remove the older version of Python for unknown reason?
How to fully remove files pertaining to Python?…”

python-3-folder-contents

If you are looking for the answers to these questions, read through this post and get the uninstall tricks to help you get rid of Python, without leaving any trace on Mac.

Hereby we summarize several methods to guide you through the uninstallation of Python, and we will share the basic trick to detect and delete Python leftovers in the system. To avoid any trouble in this process, please follow the steps below strictly.

Step 1. Shut down Python or related process

Some users may encounter this error message: Python cannot be moved to trashed as it is in use. To fix this issue, make sure to deactivated Python-related apps before performing the uninstall. So, just right click on Python icon in Dock and choose Quit.

Meanwhile, you can launch Activity Monitor to kill related background process:

  • Launch Activity Monitor in the /Applications/Utilities folder or through Spotlight
  • Type Python in search box, select the process, and click the X in upper left corner
  • Click Quit button in the pop-up dialog (or click Force Quit if that does not work)

 Screen Shot 2017-05-02 at 3.24.05 PM

Step 2. Uninstall Python (4 available options)

Here are the four ways of uninstalling Python from macOS/Mac OS X:

(1) delete Python in /Applications folder

  • Open up the Finder, and head to the /Applications folder from Go menu
  • Locate and select Python, then drag the icon to the Trash in Dock, and drop it there
  • When prompted, enter your amin password to allow the deletion
  • Right click the Trash icon, choose Empty Trash, and then click Empty Trash again (or you can delete Python individually in Trash to avoid deleting other files in Trash)

uninstall python for mac (2)

(2) delete Python by dedicated remover

  • Download and install the uninstall tool from the homepage of this site
  • Launch the app, and follow the prompts to complete the registration
  • Select Python in the interface, and click Run Analysis button to start scanning
  • Click Complete Uninstaller button and then Yes in the confirmation dialog

uninstall python for mac (4)

(3) delete Python in Launchpad (if you’ve installed it from Mac App Store)

  • Open Launchpad, and type Python in the search box on the top
  • Click and hold Python icon that appears until it starts to wiggle.
  • Click the X icon that appears on the left upper corner of Python icon
  • Click Delete button in the confirmation dialog to execute the uninstall

uninstall python for mac (3)

(4) run command in Terminal (to remove older version of Python)

  • Open up Terminal in the /Applications/Utilities folder or through Spotlight
  • Copy and paste the following command, and hit Enter key to execute:
    sudo rm -rf “/Applications/Python”
    sudo rm -rf /Library/Frameworks/Python.framework
    sudo rm -rf /usr/local/bin/python
  • When prompted, enter your admin account password to confirm the uninstall

images

Step 3. Remove Python leftovers in system

Though Python has been removed from your Mac, some of its components, like preferences files and related plugins, may still linger around the system. To thoroughly remove Python, you are supposed to continue with these steps:

  • In a Finder window, press and hold the Option key, and click Go menu on the top
  • Choose Library that appears in the drop-down menu to access to this hidden folder
  • When the folder opens, type Python in the search box, and click Library below
  • Select the items whose names contain the keyword, and move them to the Trash

uninstall python for mac (1)

After deleting all the files and folder pertaining to Python in this way, we suggest you to reboot your Mac and use it for a few days, to see if any problem occurs. If you mistakenly delete other app components, just put them back from the Trash.

So that’s the whole content of this post. Are you able to uninstall Python from your Mac now? Do you have any other suggestion? We’ll be glad to have your comments.

Leave your comments here:

Name
E-mail

Comments