from the looks of PyMate, your script's hash bang will override $TM_PYTHON (not sure if this is correct behavior) so all I can think is that there is a path issue in TextMate that you're not seeing in your shell. I did a quick test : /usr/bin/env python -V executed from my TextMate shows my expected python version.
On 3/12/07, Steven.Klass@smsc.com Steven.Klass@smsc.com wrote:
Hi Foks,
Not sure if this goes to you all or not but Pymate is using the
wrong version of python when it runs my script. Basically I have a script which looks like this
#!/usr/bin/env python print "Hi"
It fires python version 2.3.5.
If I open a shell and type /usr/bin/env python it brings up the version I want. I have set TM_PYTHON to point to the version I want but still no luck. Any ideas?
Steven M. Klass
Strategic Manager, Design Automation - Analog Mixed Signal
SMSC 3930 East Ray Road, Suite 200 Phoenix, Arizona 85044 (480) 704-7046 (Desk) (480) 225-1112 (Mobile) steven.klass@smsc.com
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate