[Pythonmac-SIG] Interpreter not initialized

Ned Deily nad at acm.org
Sat Jun 6 03:54:39 CEST 2009


In article <F29D7293-ACDC-49F1-B34F-3A2EF5671377 at pacbell.net>,
 Scott Frankel <leknarf at pacbell.net> wrote:
> Is there a way to coerce python_select?  Does python_select  
> require bash?

python_select essentially only affects the command 
/opt/local/bin/python.  If the path /opt/local/bin doesn't come before 
/usr/bin on your $PATH, then when you type "python", you'll still get 
the system python.

Try explicitly invoking the desired python, like this:

$ cd /path/to/app/direcotry
$ /opt/local/bin/python2.6 setup.py py2app

That should work regardless of $PATH and of the python_select setting.

-- 
 Ned Deily,
 nad at acm.org



More information about the Pythonmac-SIG mailing list