windows下python 2.7与mysqldb之间的折腾(registry_key/vsvarsall==)
2012-07-14 10:00
295 查看
之前转载了一篇python2.6+mysqldb安装时的问题,今天准备升级为python2.7,这也是一顿折腾。
各种错误接踵而至:
1. serverKey = _winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE, options['registry_ke
y'])
WindowsError: [Error 2]
2. unable
to find vcvarsall.bat
。。。
不过还好,根据一个哥们写的博客,他总共碰到了将近6次折腾,最后发现已经有国外大牛粘贴了编译后的mysql-python 1.2.3 for windows and python 2.7
看来以后碰到这种:
1.广泛搜索解决办法
2.可能是版本问题,直接去googlecode或codegood上搜索相应的版本,看看有没有现成的代码
3.不要轻易言弃
各种错误接踵而至:
1. serverKey = _winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE, options['registry_ke
y'])
WindowsError: [Error 2]
2. unable
to find vcvarsall.bat
。。。
不过还好,根据一个哥们写的博客,他总共碰到了将近6次折腾,最后发现已经有国外大牛粘贴了编译后的mysql-python 1.2.3 for windows and python 2.7
看来以后碰到这种:
1.广泛搜索解决办法
2.可能是版本问题,直接去googlecode或codegood上搜索相应的版本,看看有没有现成的代码
3.不要轻易言弃
相关文章推荐
- 安装 MySQLdb 出现 Python version 2.7 required, which was not found in the registry
- windows 安装MySQL-python-1.2.4b4.win32-py2.7提示which was not found in the registry
- windows安装python2.7后的注册(registry)问题
- caffe在Windows下配置 vs2013+cuda7.5+python2.7/python3.5/matlab
- windows安装python mysqldb时报错python version 2.7 required,which was not found in the registry
- windows平台下python2.7安装MySQLdb
- python MySQLdb在windows环境下的快速安装、问题解决方式
- windows下python2.7 media模块的安装
- Python version 2.7 required, which was not found in the registry.
- python2.7安装MySQLdb
- 解决python version 2.7 required,which was not find in the registry
- ubuntu python2.7安装MySQLdb
- Fix win10+vs2013: "Could not find WindowsSDKDir variable from the registry"
- ②window764bits安装MySQL-python-1.2.4--Python version 2.7 required, which was not found in the registry
- python2.7 串口操作方式 编译 .py为windows可执行exe文件
- Python Version 2.7 required which was not found in the registry 问题解决
- windows OpenCV 2.3.1/Opencv2.4.6 + Python 2.7配置
- Windows下安装MySQLdb(mysql-python)报错解决
- Check failed: registry.count(type) == 1 (0 vs. 1) Unknown layer type: Python
- python2.7 MySQLdb安装