Comment 33 for bug 482993

Revision history for this message
Windell Oskay (windell) wrote :

>That's not how I read the python man page

I see; the version of this fix that I had tried previously was "sudo export VERSIONER_PYTHON_VERSION=2.5", which was systemwide. My apologies. I agree that using "export VERSIONER_PYTHON_VERSION=2.5", in place of directly editing the path is preferable.

However, it should still be implemented on a system-dependent basis. I believe that (for example) OS 10.4 does not include python 2.5 by default, and so requiring it may counterproductive.

Perhaps something like:

OSSTRING=`sw_vers -productVersion | cut -c 1-4 `
if [[ "$OSSTRING" == "10.6" ]]; then
 export VERSIONER_PYTHON_VERSION=2.5
fi