mysql-python 安装错误 fatal error C1083: Cannot open include file: 'config-win.h': No such file or direc
来源:互联网 发布:linux telnet命令 端口 编辑:程序博客网 时间:2024/05/22 06:08
安装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中如何实现模糊分页查询
- 【随记】一次测试多个JUnit单元测试类(方法)
- iOS MVC框架模式
- Leetcode 40. Combination Sum II
- 数论模板(总结1)
- mysql-python 安装错误 fatal error C1083: Cannot open include file: 'config-win.h': No such file or direc
- 如何实现模糊查询结果
- Java用正则表达式判断是否为IP
- java中单例模式的三种模式优缺点整理
- Latex网址中出现的波浪号~处理
- Linux命令选项中的21个特殊符号
- 针对高级用户的 Vim 编辑实用技巧
- mysql中实现分类汇总功能
- 【用Python学习Caffe】2. 使用Caffe完成图像目标检测