python 2.6+(win32)上的mysqldb [英] mysqldb on python 2.6+ (win32)

查看:109
本文介绍了python 2.6+(win32)上的mysqldb的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我当前正在使用python 2.6,并且我想使用win32 mysqldb模块.不幸的是,它似乎需要2.5版本的Python.有什么方法可以消除版本号中的这种不匹配,并使用python 2.6安装mysqldb吗?

I am currently using python 2.6 and I would like to use the win32 mysqldb module. Unfortunately it seems it needs the 2.5 version of Python. Is there any way to get rid of this mismatch in the version numbers and install mysqldb with python 2.6?

推荐答案

有适用于python 2.6的mysqldb版本,只是官方站点上不可用.我花了一段时间(很遗憾,我失去了链接),但是您可以搜索google并找到已经为Windows x64和x32编译并发布了2.6版mysqldb的人.

There are versions of mysqldb for python 2.6, they're just not available on the official site. It took me a while (and unfortunately I lost the link) but you can search google and find people who have compiled and released 2.6 versions of mysqldb for windows x64 and x32.

http://sourceforge.net/forum/forum.php? thread_id = 3108914& forum_id = 70460

http://sourceforge.net/forum/forum.php? thread_id = 2316047& forum_id = 70460

该fourm链接到适用于Python 2.6的mysqldb版本

That fourm has a link to versions of mysqldb for Python 2.6

这篇关于python 2.6+(win32)上的mysqldb的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆