python模块MySQLdb安装失败解决方法
2016-07-30 23:18
771 查看
问题1:
error: Microsoft Visual C++ 9.0 is required (Unable to find vcvarsall.bat).
Get it from http://aka.ms/vcpython27
解决办法:
按上面提示到http://aka.ms/vcpython27下载安装后执行VCForPython27.msi。
问题2:
_mysql.c(42) : fatal error C1083: Cannot open include file: 'config-win.h':
No such file or directory
error: command 'C:\\Users\\Administrator\\AppData\\Local\\Programs\\Common\\
Microsoft\\Visual C++ for Python\\9.0\\VC\\Bin\\amd64\\cl.exe' failed with exit
status 2
下载MySQL-python-1.2.3.win-amd64-py2.7.exe,地址:http://pan.baidu.com/s/1pKQdKmR
error: Microsoft Visual C++ 9.0 is required (Unable to find vcvarsall.bat).
Get it from http://aka.ms/vcpython27
解决办法:
按上面提示到http://aka.ms/vcpython27下载安装后执行VCForPython27.msi。
问题2:
_mysql.c(42) : fatal error C1083: Cannot open include file: 'config-win.h':
No such file or directory
error: command 'C:\\Users\\Administrator\\AppData\\Local\\Programs\\Common\\
Microsoft\\Visual C++ for Python\\9.0\\VC\\Bin\\amd64\\cl.exe' failed with exit
status 2
下载MySQL-python-1.2.3.win-amd64-py2.7.exe,地址:http://pan.baidu.com/s/1pKQdKmR
相关文章推荐
- Python安装MySQLDb模块的问题及解决方法
- python安装mysqldb模块遇到的问题和解决方法
- Python安装MySQLDb模块的问题及解决方法
- 在Win7中 安装Python的MySQLdb模块 出现问题的解决方法
- Mac系统中python idle导入第三方模块成功,ecplise导入python第三方模块失败解决方法
- Python安装模块出现问题UnicodeDecodeError的解决方法
- Python安装MySQLDb模块的种种问题及解决
- Python安装模块出错(ImportError: No module named setuptools)解决方法
- python中cx_Oracle模块安装遇到的问题与解决方法
- Windows下安装mysql-python(MySQLdb)诺干问题及解决方法
- python中cx_Oracle模块安装遇到的问题与解决方法
- Mac下安装mysql-python失败解决方法
- 在 Mac 中安装 MySQLdb (Python mysql )出现“mysql_config not found”错误的解决方法
- Python安装模块出错(No module named setuptools)解决方法
- Python安装模块出错(ImportError: No module named setuptools)解决方法
- Linux搭建python环境中cx_Oracle模块安装遇到的问题与解决方法
- Python安装MySQLDb模块的种种问题及解决
- 安装python-MySQLdb 出现error: command 'gcc' failed with exit status 1的解决方法
- nodejs 安装模块失败 解决方法
- Python安装模块出错(ImportError: No module named setuptools)解决方法