views:

448

answers:

1

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:

  1. remove the Python 2.7 framework

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

  2. remove the Python 2.7 applications directory

    sudo rm -rf "/Applications/Python 2.7"

  3. remove the symbolic links in /usr/local/bin

Ned Deily