Re: [Pythonmac-SIG] Interpreter not initialized

2009-06-07 Thread Scott Frankel
Yes, it turned out to be a $PATH problem. Thanks! Scott On Jun 5, 2009, at 6:54 PM, Ned Deily wrote: In article , Scott Frankel 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 th

Re: [Pythonmac-SIG] Interpreter not initialized

2009-06-05 Thread Leonardo Santagada
On Jun 5, 2009, at 10:54 PM, Ned Deily wrote: In article , Scott Frankel 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 you

Re: [Pythonmac-SIG] Interpreter not initialized

2009-06-05 Thread Ned Deily
In article , Scott Frankel 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'l

Re: [Pythonmac-SIG] Interpreter not initialized

2009-06-05 Thread Scott Frankel
Hi Christopher, On Jun 5, 2009, at 4:58 PM, Christopher Barker wrote: 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 setu

Re: [Pythonmac-SIG] Interpreter not initialized

2009-06-05 Thread Christopher Barker
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

Re: [Pythonmac-SIG] Interpreter not initialized

2009-06-05 Thread Scott Frankel
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. I've upgraded to python26 and noticed that my system Python (2.5) is still being used in the py2app build process. I'm also getting python 2.5.1 when

Re: [Pythonmac-SIG] Interpreter not initialized

2009-06-05 Thread Scott Frankel
I'm not sure I can upgrade to python26. Meanwhile, if I understand your otool suggestion correctly, I've gotten seemingly ambiguous results. (See below.) Macports has installed the pyqt libs deep in its directory structure. Pointing otool to QtCore.so, for example, returned a Python th

Re: [Pythonmac-SIG] Interpreter not initialized

2009-06-04 Thread Dane Springmeyer
Hey Scott, Essentially the problem results (like you note) from the system python (or some other python version) linking to a macports library. That python version then differs from the python version your are running from the interpreter. In general I've noticed this has been a big probl

[Pythonmac-SIG] Interpreter not initialized

2009-06-04 Thread Scott Frankel
I'm using py2app for the first time to build a PyQt app. I get the following error msg when I launch the app: Fatal Python error: Interpreter not initialized (version mismatch?) I've downloaded macports and installed its python25, pyqt, &c. I've issued the command, sudo python_se