Uninstall Python from OSX

This only uninstalls custom Python installation. Uninstalling the default Python
that comes with OSX is not a good idea.

1) Delete Python files
sudo rm -rf /Library/Frameworks/Python.framework/Versions/2.7
sudo rm -rf /Applications/Python 2.7

2) Remove symbolic links in /usr/local/bin
ls -l /usr/local/bin | grep '../Library/Frameworks/Python.framework/Versions/2.7' | xargs rm  

3) Edit your shell profile file(s) and delete that line that adds /Library/Frameworks/Python.framework/Versions/2.7 to your PATH environment file. This could either of
these files, depending on the shell you are using:



PISIKA Copyright © 2009