mysql-python 安装错误 fatal error C1083: Cannot open include file: 'config-win.h': No such file or direc
来源:互联网 发布:如何经营一家淘宝鞋店 编辑:程序博客网 时间:2024/05/22 11:31
安装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位)
修改为你安装的目录即可.
阅读全文
0 0
- 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 安装错误 fatal error C1083: Cannot open include file: 'config-win.h': No such file or direc
- win7 64 安装mysql-python:fatal error C1083: Cannot open include file: 'config-win.h': No such file or
- 安装pymysql、mysql-python 安装错误 fatal error C1083: Cannot open include file: 'config-win.h':
- mysql-python 安装错误: Cannot open include file: 'config-win.h': No such file or directory
- _mysql.c(42) : fatal error C1083: Cannot open include file: 'config-win.h':no such file or directory
- 关于VC6编译DirectSound Simple时fatal error C1083: Cannot open include file: 'dxerr9.h': No such file or direc
- Visual Studio 2013: fatal error C1083: Cannot open include file: 'winsock2.h': No such file or direc
- WINCE6错误:fatal error C1083: Cannot open include file: 'mbctype.h': No such file or
- Windows使用pip安装MySQL-python报错fatal error C1083: Cannot open include file: 'config-win.h'
- win7 64 安装mysql-python:_mysql.c(42) : fatal error C1083: Cannot open include file: 'config-win.h': N
- fatal error C1083: Cannot open include file: 'ProMenu.h': No such file or directory
- fatal error C1083 Cannot open include file 'iostream.h' No such file or directory 的解决方法
- fatal error C1083 Cannot open include file 'iostream.h' No such file or directory 的解决方法
- fatal error C1083: Cannot open include file: 'stdafx.h': No such file or directory
- fatal error C1083: Cannot open include file: 'htmlhelp.h': No such file or directory 解决办法
- 数据结构实验之栈七:出栈序列判定
- Java知识点总结
- 数据分页显示
- [Array]Triangle
- A Bug's Life(POJ-2492)
- mysql-python 安装错误 fatal error C1083: Cannot open include file: 'config-win.h': No such file or direc
- hdu 1029 Ignatius and the Princess IV(水题)
- 继承
- select模式的IO的事件通知一定是准确的吗?
- ViewFlipper-----AdapterViewFlipper公告栏
- JavaScript解构赋值(代码说明ES6数组, 对象, 函数的解构赋值)
- a标签href属性值javascript:void(0);与#的区别
- 右键新建项的增加和删除
- XILINX 白皮书:直接RF采样