[Pythonmac-SIG] Interpreter not initialized

Leonardo Santagada santagada at gmail.com
Sat Jun 6 07:17:44 CEST 2009


On Jun 5, 2009, at 10:54 PM, Ned Deily wrote:

> 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.


another problem that I had is that /opt/local/bin is not part of the  
finder paths so .app software that tries to launch python can't find  
it. the fix is putting this on a .plist in a hidden directory, search  
for "mac os x finder search path" or something.

--
Leonardo Santagada
santagada at gmail.com





More information about the Pythonmac-SIG mailing list