Last Updated: February 25, 2016
·
19.36K
· silvercorp

How to uninstall Python 2.x on Mac OS

Open your console:

Remove the Python 2.7 framework

sudo rm -rf /Library/Frameworks/Python.framework/Versions/2.7

Remove the Python 2.7 applications directory

sudo rm -rf "/Applications/Python 2.7"

Remove the symbolic links in ** /usr/local/bin **

ls -l /usr/local/bin | grep '../Library/Frameworks/Python.framework/Versions/2.7'