Got it! Had to delete all the MySQL files in the TextMate Application bundle as they were probably not universal and were overriding the external modules for Python. It's now working. Thanks, ml
On Aug 28, 2006, at 1:47 PM, Mark Lacas wrote:
More info:
I finally got all the parameters right and ran tableBrowser.py from the command line (inside the TextMate bundle in the Appllications Folder). 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? Thanks, ml
On Aug 28, 2006, at 1:33 PM, Mark Lacas wrote:
Hmmm, Any idea why MySQLdb isn't working from TextMate then? I ran all the MySQL tests that came with the module and they passed. ml
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/python
#!/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"
-Derek
__ 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
_ 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
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