Disclaimer
First, let me get the obvious out of the way: I have not touched the system-bundled Python. I know it’s important to leave it alone. I have, in fact, done exactly that. ☺
Background
The Python official releases for Mac have a very handy Installer. (It’s the Installer’s brilliance that allowed me to put newer versions of Python on my system without screwing up the system-bundled version. Thanks, Pythonistas!)
Now, my primary Python installation is 2.7. Since it is the last 2.x release, that’s fine.
However, I was curious to learn about Python 3 as well, so I installed it. And it plays perfectly nicely with Python 2. In fact, Python 3 is opt-in, which is just what I wanted. “Works as advertised.”
Now, the weird part…
I have 2 installed versions of Python 3! The installers for Python 3.1 and Python 3.2 both installed to separate locations. So, now I have Python 3.1 hanging around and I’m never planning to use it. And since the installer is awesome (I’m not being sarcastic; I’m really impressed, especially since most programming languages require compilation from source), it also creates entries in /Applications with some handy utilities.
But since I have installed a newer Python 2 and two versions of Python 3, this means I now have:
- /Applications/Python 2.7,
- /Applications/Python 3.1, and
- /Applications/Python 3.2
Help Wanted!
I just want to ditch Python 3.1.
And I want to be very thorough about it. No forgotten directories buried under /Library/* (or whatever).
Anybody know how to do this?