MySQL-python 1.2.3 for Windows and Python 2.7, 32bit and 64bit versions
2013-10-21 10:52
936 查看
Last Updated on Sunday, 19 September 2010 04:58 Written by Ioannis Lalopoulos Sunday, 19 September 2010 02:27
I have added to the downloads page two distributions of the mysql-python module 1.2.3 for python 2.7
The distributions are:
MySQL-python-1.2.3.win32-py2.7.exe (1,023.1
KiB)
MySQL-python-1.2.3.win-amd64-py2.7.exe (1.0
MiB)
Some quick notes:
The choice of 32bit and 64bit depends on the version of python you have installed in your computer and not in the operating system or the server you want to access. So if you have the 32 bit python 2.7 installed on your 64 bit Windows, you will download
and install the 32 bit version.
Some python distributions do not make correct registry entries when they install the 64bit python. If this is the case the 64 bit mysql-python installer will not find your python installation. This means that the 64bit python version has been wrongly set
in the registry under the Wow6432Node which is under convention for 32bit software only. You will have to add/move the python registry node in the correct place i.e. in HKEY_LOCAL_MACHINE\SOFTWARE for more info see my post in sourceforge http://bit.ly/c8J6Yr .
If your python is from the official distribution (http://www.python.org) you will not have this problem.
Following are the results of the test suite that comes with mysql-python on the newly build distributions (I had to edit the tests in three places to replace deprecated test methods in 2.7 that were giving, for that reason, warnings and subsequently two failures
in the test_MySQLdb_capabilities.py)
I have added to the downloads page two distributions of the mysql-python module 1.2.3 for python 2.7
The distributions are:
MySQL-python-1.2.3.win32-py2.7.exe (1,023.1
KiB)
MySQL-python-1.2.3.win-amd64-py2.7.exe (1.0
MiB)
Some quick notes:
The choice of 32bit and 64bit depends on the version of python you have installed in your computer and not in the operating system or the server you want to access. So if you have the 32 bit python 2.7 installed on your 64 bit Windows, you will download
and install the 32 bit version.
Some python distributions do not make correct registry entries when they install the 64bit python. If this is the case the 64 bit mysql-python installer will not find your python installation. This means that the 64bit python version has been wrongly set
in the registry under the Wow6432Node which is under convention for 32bit software only. You will have to add/move the python registry node in the correct place i.e. in HKEY_LOCAL_MACHINE\SOFTWARE for more info see my post in sourceforge http://bit.ly/c8J6Yr .
If your python is from the official distribution (http://www.python.org) you will not have this problem.
Following are the results of the test suite that comes with mysql-python on the newly build distributions (I had to edit the tests in three places to replace deprecated test methods in 2.7 that were giving, for that reason, warnings and subsequently two failures
in the test_MySQLdb_capabilities.py)
相关文章推荐
- MySQL-python 1.2.3 for Windows and Python 2.7, 32bit and 64bit versions -(亲测可用)
- WinXp + Python2.7 + Django1.4 + Mysql 5.5 + Mysql for Python 1.2.3 安装方法
- Windows+Python2.7+MySQL5.5+MySQL-python-1.2.3配置数据连接失败
- Python 2.7 mysql-python(MySQLdb) win7 64bit 扩展安装
- Python2.7安装MYSQL-python
- mac OSX 使用Diango创建数据库报错Referenced from: /Library/Python/2.7/site-packages/_mysql.so
- Python and Django 001 MySQL
- 解决安装MySQL-python出现的:Python version 2.7 required, which was not found in the registry
- win7的64位python2.7的pip和mysql-python安装
- JILK - (6) - 32-Bit and 16-Bit Address and Operand Sizes
- python2.7安装mysql的数据驱动
- Python 3.5 for windows 10 通过pip安装mysqlclient模块 error:C1083
- python2.7 mysql.connector的安装
- Python 2.7 Data Type for Text Strings: Unicode and Str
- Install MySQL 5 for Python 2.6 (and django) on Windows
- win下安装MySQL-python cx_Oracle 经常报 python version 2.7 required
- Python2.7简单连接与操作MySQL的方法
- python2.7 mysql.connector的安装
- Windows xp下安装MySQL-python-1.2.3
- ②window764bits安装MySQL-python-1.2.4--Python version 2.7 required, which was not found in the registry