mysql-python 安装错误 fatal error C1083: Cannot open include file: 'config-win.h': No such file or direc
2017-05-20 21:05
691 查看
安装mysql-python,下载MySQL-python-1.2.5解压后执行 python setup.py install
提示错误: fatal error C1083: Cannot open include file: ‘config-win.h’: No such file or directory
需要安装mysql connector 前往 http://dev.mysql.com/downloads/connector/c/6.0.html#downloads 根据python的版本下载32位或64位版本. 默认安装即可.
windows可能你还需要安装一个VCforpython2.7. 去微软官网下载即可。
再次执行 python setup.py install 安装成功.
如果还出现相同的错误, 请检查MySQL-python-1.2.5文件下的site.cfg 中connector 的值是否是你安装mysql connector的目录. 默认应该是 C:\Program Files(x86) \MySQL\MySQL Connector C 6.0.2 (32位) 或 C:\Program Files\MySQL\MySQL Connector C 6.0.2 (64位)
修改为你安装的目录即可.
提示错误: fatal error C1083: Cannot open include file: ‘config-win.h’: No such file or directory
需要安装mysql connector 前往 http://dev.mysql.com/downloads/connector/c/6.0.html#downloads 根据python的版本下载32位或64位版本. 默认安装即可.
windows可能你还需要安装一个VCforpython2.7. 去微软官网下载即可。
再次执行 python setup.py install 安装成功.
如果还出现相同的错误, 请检查MySQL-python-1.2.5文件下的site.cfg 中connector 的值是否是你安装mysql connector的目录. 默认应该是 C:\Program Files(x86) \MySQL\MySQL Connector C 6.0.2 (32位) 或 C:\Program Files\MySQL\MySQL Connector C 6.0.2 (64位)
修改为你安装的目录即可.
相关文章推荐
- mysql-python 安装错误 fatal error C1083: Cannot open include file: 'config-win.h': No such file or direc
- mysql-python 安装错误 fatal error C1083: Cannot open include file: 'config-win.h': No such file or direc
- mysql-python 安装错误 fatal error C1083: Cannot open include file: 'config-win.h': No such file or direc
- mysql-python 安装错误: Cannot open include file: 'config-win.h': No such file or directory
- 安装MySQL-python报错:_mysql.c(42) : fatal error C1083: Cannot open include file: 'config-win.h': No such file or directory或者 build\lib.win-amd64-2.7\_mysql.pyd : fatal error LNK1120: 56 unresolved externa
- mysql-python 安装错误: Cannot open include file: 'config-win.h': No such file or directory
- mysql-python 安装错误 fatal error C1083: Cannot open include file: 'config-win.h': No such file or directory
- python3.5连接MySQL出现Cannot open include file: 'config-win.h': No such file or directory 错误解决办法
- win7 64 安装mysql-python:fatal error C1083: Cannot open include file: 'config-win.h': No such file or
- win7 64 安装mysql-python:_mysql.c(42) : fatal error C1083: Cannot open include file: 'config-win.h': No such file or directory
- (转)win7 64 安装mysql-python:_mysql.c(42) : fatal error C1083: Cannot open include file: 'config-win.h': No such file or directory
- win7 64 安装mysql-python:_mysql.c(42) : fatal error C1083: Cannot open include file: 'config-win.h': No such file or directory
- 安装pymysql、mysql-python 安装错误 fatal error C1083: Cannot open include file: 'config-win.h':
- _mysql.c(42) : fatal error C1083: Cannot open include file: 'config-win.h':no such file or directory
- Cannot open include file: ‘config-win.h’: No such file or director 错误记录
- win7 64 安装mysql-python:_mysql.c(42) : fatal error C1083: Cannot open include file: 'config-win.h': N
- Windows使用pip安装MySQL-python报错fatal error C1083: Cannot open include file: 'config-win.h'
- Visual Studio 2013: fatal error C1083: Cannot open include file: 'winsock2.h': No such file or direc
- mysql-python:_mysql.c(42) : fatal error C1083: Cannot open include file: 'config-win.h' 非权威指南
- 安装VS简化版。解决编译器报错“Cannot open include file: 'iostream.h': No such file or directory”