在win7下安装了Python后,想安装python-MySQL,使用pip安装出现如下问题: >pip install MySQL-python _mysql.c(42) : fatal error C1083: Cannot open include file: 'config-win.h': No such file or directory error: command '"C:\Users\fnngj\AppData\Local\Programs\Common\Microsoft…
在win7下安装了Python后,想安装python-MySQL,使用pip安装出现如下问题: >pip install MySQL-python _mysql.c(42) : fatal error C1083: Cannot open include file: 'config-win.h': No such file or directory error: command '"C:\Users\fnngj\AppData\Local\Programs\Common\Microsoft…
在win7下安装了python后,想安装python-mysql,使用pip安装出现如下问题: >pip install MySQL-python _mysql.c(42) : fatal error C1083: Cannot open include file: 'config-win.h': No such file or directory error: command '"C:\Users\fnngj\AppData\Local\Programs\Common\Microsoft…
一.问题 系统:win7 64位 在下载MySQL-python-1.2.5.zip,使用python setup.py install 安装时,出现以下报错: _mysql.c(42) : fatal error C1083: Cannot open include file: 'config-win.h': No such file or directory error: command 'C:\\Users\\qinwanxia\\AppData\\Local\\Programs\\Com…
原文地址:http://www.cnblogs.com/fnng/p/4115607.html 作者:虫师 今天想在在win7 64位环境下使用python 操作mysql 在安装MySQL-python 时报错: _mysql.c _mysql.c(42) : fatal error C1083: Cannot open include file: 'config-win.h': No s uch file or directory error: command '"C:\Users\fnng…
今天想在在win7 64位环境下使用python 操作mysql 在安装MySQL-python 时报错: _mysql.c _mysql.c(42) : fatal error C1083: Cannot open include file: 'config-win.h': No s uch file or directory error: command '"C:\Users\fnngj\AppData\Local\Programs\Common\Microsoft\Visual C ++…
解决办法1: 直接下载MySQL-python-1.2.5.win-amd64/32-py2.7.exe,点击安装 此处要注意自己安装的Python和MySQL版本是64位还是32位,否则在进行安装MySQLdb时会报错. 此处分享一个 MySQL-python-1.2.5.win-amd64-py2.7.exe版本(PS:目前最新哦,免费提供,楼主自己是在CSDN上花了四个下载币弄来的),链接:http://pan.baidu.com/s/1nuDF6lj 密码:9xyb 具体下载驱动官网链接…
需要安装mysql connector 前往 https://dev.mysql.com/downloads/connector/python/ 下载 选择Platform independence,下载zip包 解压zip包,进入目录,运行python setup.py install,即可成功安装 建议最好是在本地环境安装完之后,再创建虚拟环境. 如果已经创建了虚拟环境,要为虚拟环境安装,则在虚拟环境下运行python setup.py install即可 =============== 问…
在项目开发过程中,遇到一个问题,一个工程B导入另外一个工程A的生产代码,出现这个错误,最后查阅资料发现是文件路径太深,导致文件路径字符超过了217字符. 写了一个测试Demo来验证: 一.新建Win32控制台工程TestFilePath(A工程): 新建一个空类Test, Test.h .Test.cpp 放在一个很深目录: D:\Project\VS2010\Test\TestFilePath\TestFilePath\\\\\12\Test.h 二.在TestPath平级目录新建一个Test…
在编译VS时候,出现fatal error C1010: unexpected end of file while looking for precompiled head. 问题详解:致命错误C1010,在寻找预编译指示头文件时,文件未预期结束.就是没有找到预编译指示信息的问文件. 顾名思义就是预编译由于缺少了预编译文件而失败.解决方法显然能够取消预编译,或者帮助编译器找到预编译文件. 故解法: 1.右键单击项目project中的cpp文件,在菜单Project->Settings->C/C…