I just upgraded to Snow Leopard and I'm trying to get it to use the old python 2.5 install. I had with all my modules in it. Does anyone know how to set the default python install to 2.5?
A:
You want python_select
.
Description: Switch the default python interpreter
Graham Lee
2009-09-04 16:36:01
That only works for MacPorts-installed versions of Python, not the Apple-supplied ones.
Ned Deily
2009-09-04 17:11:59
+6
A:
I worked this out - if you have this problem open a terminal and type:
defaults write com.apple.versioner.python Version 2.5
Tristan
2009-09-04 16:38:04
This is documented in the python man page that came with Snow Leopard
Doug Harris
2010-01-22 16:39:49
You can find the man page that describes it here: http://developer.apple.com/mac/library/documentation/Darwin/Reference/ManPages/man1/python.1.html
Rabarberski
2010-07-06 19:07:49