怎么安装mysql-python-1.2.3.win32-py2.7
1个回答
展开全部
也可以使用如下方式进行安装。
windows7 64 bits 安装 MySQL-python-1.2.4b4.win32-py2.7.exe
安装时提示需要python2.7,但是此时python2.7已经添加到环境变量中,要解决这个问题,可以使用如下的方法:
在D盘新建register.py的文件,内容如下:
#
# script to register Python 2.0 or later for use with win32all
# and other extensions that require Python registry settings
#
# written by Joakim Loew for Secret Labs AB / PythonWare
#
# source:
# http://www.pythonware.com/products/works/articles/regpy20.htm
#
# modified by Valentine Gogichashvili as described in http://www.mail-archive.com/distutils-sig@python.org/msg10512.html
import sys
from _winreg import *
windows7 64 bits 安装 MySQL-python-1.2.4b4.win32-py2.7.exe
安装时提示需要python2.7,但是此时python2.7已经添加到环境变量中,要解决这个问题,可以使用如下的方法:
在D盘新建register.py的文件,内容如下:
#
# script to register Python 2.0 or later for use with win32all
# and other extensions that require Python registry settings
#
# written by Joakim Loew for Secret Labs AB / PythonWare
#
# source:
# http://www.pythonware.com/products/works/articles/regpy20.htm
#
# modified by Valentine Gogichashvili as described in http://www.mail-archive.com/distutils-sig@python.org/msg10512.html
import sys
from _winreg import *
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询