您的位置:首页 > 编程语言 > Python开发

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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: