[Pythonmac-SIG] Interpreter not initialized

Christopher Barker Chris.Barker at noaa.gov
Sat Jun 6 01:58:53 CEST 2009


Scott Frankel wrote:
> Is there a way to force the use of a specific version of python for 
> py2app?  python_select appears to be getting overridden somewhere/how.

it should use the one you call it with...

> % python setup.py py2app

what do you get when you run:

which python

and:

python

this should assure you whether python_select is working.


you can also do:

python

 >>> import os
 >>> os.__file__
'/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/os.pyc'

that will tell you what python is actually being used.

-Chris



-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov


More information about the Pythonmac-SIG mailing list