python里安装mysql有错_尝试在Python3.4上安装MySQL时出错
我在命令行中运行了以下命令。请参见代码末尾的执行和错误:_mysql.c(42) : fatal error C1083: Cannot open include file: 'config-win.h': No such file or directory
error: command 'C:\Program Files\Microsoft Visual Studio
10.0\VC\BIN\cl .exe' failed with exit status 2
D:\Python34>pip install MySQL-python
Collecting MySQL-python
Using cached MySQL-python-1.2.5.zip
Installing collected packages: MySQL-python
Running setup.py install for MySQL-python
Complete output from command D:\Python34\python.exe -c "import setuptools, t
okenize;__file__='C:\\Users\\Irfan\\AppData\\Local\\Temp\\pip-build-i5dqkio1\\My
SQL-python\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).rea
d().replace('\r\n', '\n'), __file__, 'exec'))" install --record C:\Users\Irfan\A
ppData\Local\Temp\pip-v08vge52-record\install-record.txt --single-version-extern
ally-managed --compile:
running install
running build
running build_py
creating build
creating build\lib.win32-3.4
copying _mysql_exceptions.py -> build\lib.win32-3.4
creating build\lib.win32-3.4\MySQLdb
copying MySQLdb\__init__.py -> build\lib.win32-3.4\MySQLdb
copying MySQLdb\converters.py -> build\lib.win32-3.4\MySQLdb
copying MySQLdb\connections.py -> build\lib.win32-3.4\MySQLdb
copying MySQLdb\cursors.py -> build\lib.win32-3.4\MySQLdb
copying MySQLdb\release.py -> build\lib.win32-3.4\MySQLdb
copying MySQLdb\times.py -> build\lib.win32-3.4\MySQLdb
creating build\lib.win32-3.4\MySQLdb\constants
copying MySQLdb\constants\__init__.py -> build\lib.win32-3.4\MySQLdb\constan
ts
copying MySQLdb\constants\CR.py -> build\lib.win32-3.4\MySQLdb\constants
copying MySQLdb\constants\FIELD_TYPE.py -> build\lib.win32-3.4\MySQLdb\const
ants
copying MySQLdb\constants\ER.py -> build\lib.win32-3.4\MySQLdb\constants
copying MySQLdb\constants\FLAG.py -> build\lib.win32-3.4\MySQLdb\constants
copying MySQLdb\constants\REFRESH.py -> build\lib.win32-3.4\MySQLdb\constant
s
copying MySQLdb\constants\CLIENT.py -> build\lib.win32-3.4\MySQLdb\constants
running build_ext
building '_mysql' extension
creating build\temp.win32-3.4
creating build\temp.win32-3.4\Release
C:\Program Files\Microsoft Visual Studio 10.0\VC\BIN\cl.exe /c /nologo /Ox /
MD /W3 /GS- /DNDEBUG -Dversion_info=(1,2,5,'final',1) -D__version__=1.2.5 "-IC:\
Program Files (x86)\MySQL\MySQL Connector C 6.0.2\include" -ID:\Python34\include
-ID:\Python34\include /Tc_mysql.c /Fobuild\temp.win32-3.4\Release\_mysql.obj /Z
l
_mysql.c
_mysql.c(42) : fatal error C1083: Cannot open include file: 'config-win.h':
No such file or directory
error: command 'C:\\Program Files\\Microsoft Visual Studio 10.0\\VC\\BIN\\cl
.exe' failed with exit status 2
----------------------------------------
Command "D:\Python34\python.exe -c "import setuptools, tokenize;__file__='C:
\\Users\\Irfan\\AppData\\Local\\Temp\\pip-build-i5dqkio1\\MySQL-python\\setup.py
';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n',
'\n'), __file__, 'exec'))" install --record C:\Users\Irfan\AppData\Local\Temp\pi
p-v08vge52-record\install-record.txt --single-version-externally-managed --compi
le" failed with error code 1 in C:\Users\Irfan\AppData\Local\Temp\pip-build-i5dq
kio1\MySQL-python
python里安装mysql有错_尝试在Python3.4上安装MySQL时出错相关推荐
- 服务器安装mysql要密码_在阿里云服务器上安装mysql及重置密码
参考链接:https://www.cnblogs.com/ljysy/p/10324854.html 下载与安装MySQL: 这里采用Yum管理好了各种rpm包的依赖,能够从指定的服务器自动下载RPM ...
- ubuntu安装mysql报错_解决Ubuntu 12.04中更改MySQL默认编码报错
Ubuntu 12.04,安装了MySQL,完了之后,更改了字符编译,就报错.感觉很郁闷. 环境: root@ubuntu:~# uname -a Linux ubuntu 3.2.0-23-gene ...
- python安装numpy模块教程_如何在windows机器上安装python 3.6的matplotlib和numpy模块?...
如果你在python(3.6)命令提示符Windows上执行以下命令时收到无效的Systemax错误:import matplotlib import scipy import numpy 在浏览器下 ...
- python隐藏数据库密码忘了怎么办_当你忘记网站上的密码时怎么办?Python如何快速帮你找回?...
前言 本文的文字及图片来源于网络,仅供学习.交流使用,不具有任何商业用途,版权归原作者所有,如有问题请及时联系我们以作处理. 现如今浏览器可谓是五花八门,火狐.UC.360.QQ 这些浏览器不论美观还 ...
- Xshell安装sql报错:The GPG keys listed for the “MySQL 8.0 Community Server“ repository are already instal
文章目录 Xshell安装sql报错:The GPG keys listed for the "MySQL 8.0 Community Server" repository are ...
- 安装虚拟机报错,尝试选择采用nomodeset模式
安装虚拟机报错,尝试选择采用nomodeset模式 第一步: Ubuntu选择安装界面,在e进入编辑界面. 找到quiet splash - 修改成: nomodeset quiet splash&q ...
- 解决MySQL报错ERROR 2003 (HY000): Can‘t connect to MySQL server on ‘localhost:3306‘ (10061)
解决MySQL报错ERROR 2003 HY000: Can't connect to MySQL server on 'localhost:3306' 10061 笔者在新电脑安装完 MySQL ...
- 解决MySQL报错ERROR 2003 (HY000) Can‘t connect to MySQL server on ‘localhost3306‘ (10061)
解决MySQL报错ERROR 2003 HY000: Can't connect to MySQL server on 'localhost:3306' 10061 笔者在新电脑安装完 MySQL 后 ...
- Navicat连接mysql报错is not allowed to connect to this MySQL
Navicat连接mysql时报错is not allowed to connect to this MySQL 1. 改表法. 可能是你的帐号不允许从远程登陆,只能在localhost.这个时候只要 ...
最新文章
- js如何运行python代码_python中执行javascript代码
- 我在兰亭这三年之跳出率升高门
- map集合根据value找key,默认取第一个key
- 最大字段和_使对易失性字段的操作原子化
- TCP/IP详解学习笔记(12)-TCP的超时与重传
- 洛谷P4382 劈配
- Oracle 数据库版本和位数sql语句查看方法
- Some Experience about userControls
- ROS学习之日志消息
- 大剑无锋之HTTP连接、Tcp三次握手四次挥手、Tcp状态
- mysql中使用CASE WHEN
- 打开终端输入没反应_忘掉Iterm2,试试这款跨平台终端工具
- UVA1276 Network
- 洛谷3004 [USACO10DEC]宝箱Treasure Chest
- 证券公司财务帐单分析报告自动生成系统
- 淘淘商城第27讲——实现图片上传功能
- MAC 访问 Windows 共享文件夹
- 水溶性Ag2S量子点表面修饰PEG-SH,发射1100-1500之间可根据需求定制-齐岳生物
- 系统架构设计基础(一)
- C语言 打印5阶魔方阵