I want to completely remove Python 2.7 from my Mac OS X 10.6.4. I managed to remove the entry from the PATH variable by reverting my .bash_profile. But I also want to remove all directories, files, symlinks, and entries that got installed by the Python 2.7 install package. I've got the install package from http://www.python.org/. What directories/files/configuration file entries do I need to remove? Is there a list somewhere?
+3
A:
The complete list is documented here. But, basically, all you need to do is to:
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
Ned Deily
2010-09-29 08:18:21