No MySQL for Python 2.5 on Windows?
It would appear that if you want to run mysql-python on Windows with binaries compiled for Python 2.5 you are out of luck. If you use the 2.4 installer on SourceForge, you get the following error:
According to some forum threads, there appears to be some disagreement between Python and MySQL as to who’s responsibility it is to get it working with Python 2.5. And both that thread and others say that “everybody is running on glue code from one guy on Sourceforge, and he’s having problems keeping up.” And it sounds like getting the older releases to work is problematic as well.
Definitely an unfortunate situation. If someone has figured out how to get this to work, I’d be very anxious to hear about it. I’m assuming I’m missing something simple here.
Otherwise… what’s the alternative? Switch to PostgreSQL perhaps?
Update: I took a shot at compiling mysql-python on Windows…
February 3rd, 2007 at 7:55 am
Yeah, this annoyed me too, but it’s life. I tried the patch from SF and no matter what I did it refused to compile. The only real choice (assuming you want to stay with MySQL) is to stay with 2.4.
That being said, I’ve personally made the jump to running Linux everywhere, and there are no issues with MySQLdb here. It’s funny, a bunch of things came to a head all at once… graphics programs, filesystem limitations, and libraries like MySQLdb not working. I made the switch and found out it was apparently the perfect time. Just a thought… :)
February 3rd, 2007 at 1:02 pm
I actually attempted to load Linux on the new desktop, but between some minor audio issues and problems getting all my games to work… I went back to Windows.
Eventually I’ll make the switch to Linux on the desktop…. but for now it’s only on my servers and MythTV boxen. :)
February 4th, 2007 at 11:55 pm
Hey Paryl,
I just checked out your website (Technobabbler). You’ve got some good content on there… keep up the good work!
February 5th, 2007 at 7:54 pm
Thanks dude! Just so you know, I’ve had your site on my news reader for prolly 6 months now. Good stuff!
February 7th, 2007 at 2:59 pm
I see there’s a proposed sprint at PyCon this year to deal with the Python 2.5/MySQL breakage.
February 7th, 2007 at 4:00 pm
[...] No MySQL for Python 2.5 on Windows? [...]