[TxMt] Re: SQL Problems

Jasper van der Meulen jasper at logt.nu
Wed Oct 18 23:08:57 UTC 2006


Thanks,
but that didn't workout :(
I've Installed now:
2.4.3 (didnt work)
2.5 (didn work)
An installation of MySQLdb (the package from http://pythonmac.org/ 
packages/py24-fat/index.html ) (didnt work on orignal python, 2.4.3,  
2,5)

did a search on MySQLdb on my drive in the /usr dir ..
found it :-)
/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site- 
packages
there..and copied it into
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site- 
packages
But it all didn't work out ..
 >> import MySQLdb
MySQLdb/__init__.py:19: RuntimeWarning: Python C API version mismatch  
for module _mysql: This Python has API version 1013, module _mysql  
has version 1012.

Then i've installed gcc 4.0 from the developer package (XCode)
Then i've downloaded the package from http://sourceforge.net/projects/ 
mysql-python and tried to compile
/usr/bin/env gcc gives i686-apple-darwin8-gcc-4.0.1
Tried to compile ... didn't work out .. lot's of errors ..

Any tricks left ?

Regards J.


On 18-okt-2006, at 23:57, Jacob Rus wrote:

>
> At this point I don't think there's any reason *not*
> to just install [Python 2.5][py25] from python.org,
> and then do the `sudo python setup.py install` routine.
> There are some nifty new things in python 2.5, and as
> far as I know, no issues running code for 2.3 or 2.4.
>
> [py25]: http://www.python.org/download/releases/2.5/
>
> -Jacob
>
>
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20061019/ddb2aeb1/attachment.html>


More information about the textmate mailing list