views:

1413

answers:

3

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
That only works for MacPorts-installed versions of Python, not the Apple-supplied ones.
Ned Deily
+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
This is documented in the python man page that came with Snow Leopard
Doug Harris
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
A: 

Thanks, very very useful, mate.

Rolando Murillo