If you are a developer, then you must have caught apps that required Python to be installed on your Mac. But if you are just a normal Mac user, Python is redundant to you. Sometimes it can make you annoyed due to unwanted notifications or its actions. So, this post will show you how to unstall Python on your Mac.
Methods to Uninstall Python on Mac
Use the command line
You can apply this method for old versions of Python on your Mac. To do so:
- First, on your Mac, open Terminal from Spotlight.
- Next, enter the following command. You can also copy and paste it into Terminal
sudo rm -rf “/Applications/Python” sudo rm -rf /Library/Frameworks/Python.framework sudo rm -rf /usr/local/bin/python
- Enter the password of your Mac and hit Enter to comfirm your action. You will not see the password when typing it, but do not worry.
Use an App cleaner tool
‘App cleaner and uninstaller’ is a tool that can help you remove any file or software on your any file or program on Mac easily. It will only remove the files that are no longer used on your Mac.
- Download App Cleaner tool as the link above and open it on your Mac. You will see a list of installed apps on your computer. Click on Python and you will view another file, named Click on it and a list of files related to that will show up.
- At the bottom of the screen, click on ‘Remove’ option.
- Then all of the files in IDLE will be moved onto the Trash folder. After that, simply empty the Trash.
Use Osx Uninstaller
Osx Uninsstaller is a common tool that is used for uninstalling Python on Mac computers. Using it is pretty simple.
- First, just download the Osx Uninstaller tool by visting this link https://osxuninstaller.com/. Once you download the software, keep it in the Application
- Next, launch the tool and then head to ‘Microsoft OneNote’
- Click ‘Run Analysis’.
- Use your toucpad to scroll through all the files that you want to remove.
- Click on ‘Uninstall’.
- Click on ‘YES’ to confirm your action.
How to Remove Python 3.7 on Mac
If the Python on your Mac is already udpated to version 3.7.x, here is how to uninsstall it on your Mac
- Head to ‘Finder’ and click on ‘Applications’.
- Scroll down and find the ‘Python 3.7’ and click on the
- Move Python to the ‘Trash folder’.
- You might be asked to type the password to do
- Open the Trash folder and then simply empty the bin.
To remove all the files that are releated to Python 3.7, just follow these steps below:
- Open ‘Finder’ on your Mac
- Press and hold ‘Shift +Command +G’ buttons at once
- Next, click on ‘Go to the Folder’.
- Enter the following commands,
~/Library/Preferences/ ~/Library/Saved Application State/ /Library/Frameworks/Python.framework/Versions/3.7/
- When done, choose all the files that are related to the Python 3.7 version and move them on to the Trash folder.
- Next, open it and empty all the files.
Steps to uninstall Python 2.7
If the Python on your Mac is version 2.7 or older builds, you can then follow these steps below to remove it from your Mac
- First, visithttps://macflypro.com/ and then download the app.
- Click on the ‘Apps’ option once the installation is done.
- Click on ‘Scan’ and you will have a list of files.
- Select three files ‘Python Launcher.app, Build Applet.app and app’.
- Select ‘Uninstall Selected’ option
- Open the ‘Finder’ and head to ‘Application’.
- Finally, move on ‘Python 2.7’ to the Trash folder
You can also do the following steps that are likely to Python 3.7 version,
- First, head to ‘Finder’ on your Mac
- Press and hold ‘Shift+Command+G’ buttons at once on the keyboard.
- Click on ‘Go to the Folder’ option.
- Type in the following commands:
~/Library/Preferences/ ~/Library/Saved Application State/ /Library/Frameworks/Python.framework/Versions/2.7/
- Tick on all the files that are related to the Python 2.7 version and delete them by transferring them to the Trash folder.
- Finally, empty the Trash folder and you are done.
You can also remove Python 2.7 from the LaunchPad. To do this:
- Head to the Launchpad and type Python in the search box
- Click on the Python icon and wait until it starts wiggling.
- Click on the ‘X’ image on the left side of your Mac
- Click on it
- Choose the ‘Delete’ option and the process will start.