Table of Contents
This tip is about the how to Remove Python3 from MacOS. So read this free guide, How to Remove Python3 from MacOS step by step. If you have query related to same article you may contact us.
How to Remove Python3 from MacOS – Guide
MacOS comes with Python pre-installed and this Framework is installed in /System/Library/Frameworks/Python.framework.
You can find several symlinks in the usr/bin/python directory. You should not attempt to delete the preinstalled version of Python provided by Apple, as this may cause your operating system to crash or fail.
If you want to exclude any third-party Python frameworks you may have installed, such as those found on python.org, here are all the details provided with step-by-step instructions on how to fully uninstall Python from your Mac.
Basic steps to uninstall the Python app on macOS
First, if Python is running, you must terminate related processes before performing the uninstall. And there are several ways to exit Python:
- Right-click on its icon in the Dock and choose the Exit option;
- Open a Python window and choose Exit from the Apple menu in the upper left corner;
- Start Activity Monitor, select the process with the name Python in the list and click the “X” button in the upper left corner and click Full button in the pop-up dialogue. If the application does not terminate, try Force termination in Activity Monitor.
After that you can perform the standard uninstall and two options are available here.
Option 1: Remove Python from Launchpad
After clicking Delete button, the uninstall will be handled instantly and there is no need to empty the Recycle Bin later. If you install Python through the App Store and your system is OS X lion or later, you can use this approach to easily uninstall it.
Option 2: Delete Python to Recycle Bin
Warning: be cautious when performing the last step. Emptying the Trash will instantly remove all the files you’ve thrown into the Trash, and this operation is irrevocable. Make sure you’ve deleted the right things and, before emptying the Recycle Bin, you can still restore the item by right-clicking on it and choosing the Put Back option.
Also, you can uninstall an app like this: (1) right-click the app and choose the Move to Trash option; (2) Select the application and go to File menu > Move to Trash option.
The drag-to-delete method works on all versions of Mac OS X. Once installed correctly, most applications can be uninstalled without any problems this way, although it may not apply to some built-in applications. If you can’t move an app to the Trash, try selecting the app’s icon, holding the Option key, and choosing Empty Trash from the Finder menu.
Option 3: Uninstall Python via the command line
If you have installed the previous version of Python, you can use this method to uninstall it from the Mac. First open Terminal and enter the following command lines:
sudo rm -rf “/Applications / Python” sudo rm -rf /Library/Frameworks/Python.frameworksudo rm -rf / usr / local / bin / python
Then enter your administrator password, if prompted, to confirm deletion.
This option is not recommended for Mac newbies, especially for those unfamiliar with the Terminal command. If you’ve tried the above mentioned ways to uninstall Python but still failed, it’s best to use a professional tool to accomplish this task.
Final note
I hope you like the guide How to Remove Python3 from MacOS. In case if you have any query regards this article you may ask us. Also, please share your love by sharing this article with your friends.