[TxMt] SQL Problems
junk at stuffthis.net
Mon Aug 28 20:47:17 UTC 2006
I finally got all the parameters right and ran tableBrowser.py from
the command line (inside the TextMate bundle in the Appllications
It can't find MySQLdb when run from the command line.
This is really odd. . .when I run Python alone from the command line,
it works fine with MySQLdb.
When I run tableBrowser.py, it can't find the module.
Any Python gurus out there that know what's going on?
On Aug 28, 2006, at 1:33 PM, Mark Lacas wrote:
> Any idea why MySQLdb isn't working from TextMate then?
> I ran all the MySQL tests that came with the module and they passed.
> On Aug 28, 2006, at 1:16 PM, Derek Belrose wrote:
>> Mark Lacas wrote:
>>> I note that the first line of tablebrowser.py is:
>>> #!/usr/bin/env python
>>> My python is at:
>> #!/usr/bin/env python will work at that location because env
>> returns the
>> location that it finds the binary "python" at.
>> In your case it will return "/usr/bin/python"
>> For new threads USE THIS: textmate at lists.macromates.com
>> (threading gets destroyed and the universe will collapse if you
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
More information about the textmate