473,398 Members | 2,404 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Will MySQLdb, the Python shim, be supported for Python 2.6 or 3.x?

MySQLdb, the Python shim for MySQL, still supports Python only to
Python 2.5. See "http://sourceforge.net/projects/mysql-python". Are there
any plans to support Python 2.6 or 3.x?

John Nagle
Nov 17 '08 #1
4 8105
John Nagle wrote:
* * *MySQLdb, the Python shim for MySQL, still supports Python onlyto
Python 2.5. *See "http://sourceforge.net/projects/mysql-python". *Arethere
any plans to support Python 2.6 or 3.x?
Are you running windows? If so, check the forums of the group above,
some nice chap has posted a 2.6 version.
Nov 17 '08 #2
Alia Khouri wrote:
John Nagle wrote:
> MySQLdb, the Python shim for MySQL, still supports Python only to
Python 2.5. See "http://sourceforge.net/projects/mysql-python". Are there
any plans to support Python 2.6 or 3.x?

Are you running windows? If so, check the forums of the group above,
some nice chap has posted a 2.6 version.
Some reports indicate it doesn't work. See

http://sourceforge.net/forum/forum.p...forum_id=70460

Whoever did the port somehow created a dependency on the
Intel math library, "libguide40.dll" and "libmmd.dll". That shouldn't
be needed in the MySQL Python shim. It's not freely distributable,
either; you have to buy the Intel C++ compiler to get it. There are
versions of those DLLs available on the web, but they may or may not
be legitimate or current.

John Nagle
Nov 18 '08 #3
John Nagle wrote:
* * Whoever did the port somehow created a dependency on the
Intel math library, "libguide40.dll" and "libmmd.dll". *That shouldn't
be needed in the MySQL Python shim. *It's not freely distributable,
either; you have to buy the Intel C++ compiler to get it. *There are
versions of those DLLs available on the web, but they may or may not
be legitimate or current.
I'm aware of that, as I went through the same process, actually
discovered that dependency myself, and ended up having to use dlls off
the net. Eventhough I got this to work in the end, I ultimately found
that this isn't the only extension lib with 'issues', in 2.6 (numpy,
etc..) I finally ditched 2.6 for my app and reverted back to 2.5. My
recommendation is to do the same until things improve in extension
land.

AK
Nov 19 '08 #4
Alia Khouri wrote:
>>John Nagle wrote:
Whoever did the port somehow created a dependency on the
Intel math library, "libguide40.dll" and "libmmd.dll". That shouldn't
be needed in the MySQL Python shim. It's not freely distributable,
either; you have to buy the Intel C++ compiler to get it. There are
versions of those DLLs available on the web, but they may or may not
be legitimate or current.

I'm aware of that, as I went through the same process, actually
discovered that dependency myself, and ended up having to use dlls off
the net. Eventhough I got this to work in the end, I ultimately found
that this isn't the only extension lib with 'issues', in 2.6 (numpy,
etc..) I finally ditched 2.6 for my app and reverted back to 2.5. My
recommendation is to do the same until things improve in extension
land.
It's a weird dependency, too. Extensions usually have to be built
with the same compiler as the Python core. If someone built this extension with
the Intel C++ compiler for x86 (why else would it need "libguide40.dll" and
"libmmd.dll"), there may be mixed-library compatibility problems.

John Nagle
Nov 19 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Dave Harrison | last post by:
Hi all, got a problem combinging mx and MySQLdb, when I build and install both for my Python2.1 install on a Solaris 9 box I can import mx fine, but importing MySQLdb causing python to core dump. ...
1
by: Derek Fountain | last post by:
I was trying to use MySQLdb to connect to a database. All is OK, except I can't figure out how to get the details of an error. Suppose I try to connect to a non existant server, or with the wrong...
2
by: Tim Williams | last post by:
I'm trying to write a simple python program to access a MySQL database. I'm having a problem with using MySQLdb to get the results of a SQL command in a cursor. Sometimes the cursor.execute works,...
21
by: John Fabiani | last post by:
Hi, I'm a newbie and I'm attempting to learn howto create a select statement. When I use >>> string1='18 Tadlock Place' >>> cursor.execute("SELECT * FROM mytest where address = %s",string1) All...
1
by: Steve | last post by:
Darwin steve.local 8.3.0 Darwin Kernel Version 8.3.0: Mon Oct 3 20:04:04 PDT 2005; root:xnu-792.6.22.obj~2/RELEASE_PPC Power Macintosh powerpc MacOSX 10.4.3 mysql Ver 14.7 Distrib 4.1.14, for...
1
by: Yi Xing | last post by:
I log into the machine remotely. How do I check the Mac OSX version number under command line? Thanks. hiaips rosedb0 at gmail.com Wed Aug 16 01:23:10 CEST 2006 * Previous message: MySQLdb...
13
by: Steven Bethard | last post by:
Jean-Paul Calderone <exarkun@divmod.comwrote: Interesting. Could you give a few illustrations of this? (I didn't run into the same problem at all, so I'm curious.) Steve
8
by: martinnorth | last post by:
Hi, I am running Python and MySQL on Ubuntu and have installed MySQLdb. If I try to import MySQLdb I get the following error: ActivePython 2.5.2.2 (ActiveState Software Inc.) based on Python...
0
by: Christian Heimes | last post by:
Andreas Kalsch wrote: Use Python 2.5 if you don't want any trouble. It's going to take several months to years until most libraries support Python 3.0. Christian
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.