[TIP] Problem with Python 2.4 and tox on Mac OS X Lion

Ned Deily nad at acm.org
Sun Jul 31 17:37:56 PDT 2011


In article <92BE30B9-E2D4-456D-A639-C7225EF5810C at voidspace.org.uk>,
 Michael Foord <fuzzyman at voidspace.org.uk> wrote:
> This is using Python 2.7 from Activestate and Python 2.4 from Python.org on 
> Mac OS X Lion. Could it be because Python 2.7 is 64 bit and Python 2.4 is 32 
> bit? 

No, it's a problem that's been around and gone through some iterations.  
See http://bugs.python.org/issue9516.  The fix for 2.7 will be in 2.7.2.  
In the meantime, you should be able to work around the problem by 
forcing the environment variable MACOSX_DEPLOYMENT_TARGET to be 10.5 
when you invoke that Python 2.4 from the 2.7 subprocess.

-- 
 Ned Deily,
 nad at acm.org




More information about the testing-in-python mailing list