关于windows x64安装MySQL-python失败解决
2016-03-01 17:26
816 查看
MySQL-python只是有32位系统安装包,如果下载exe或者pip安装,也会报错。
报错如下:
找到如下解决方法:
install using wheel
这样就安装成功。
本文出自 “都市布衣” 博客,请务必保留此出处http://sunday208.blog.51cto.com/377871/1746404
报错如下:
_mysql.c() : fatal error C1083: Cannot include : : No s uch directory error: command l.exe---------------------------------------- Cleaning up... Command C:\Users\Admin1\Desktop\python\virtual\Scripts\python.exe -c uptools, tokenize;__file__=MySQL-python\\setup.pyead().replace(, ), __file__, ))\appdata\local\temp\\pip-pmwrd-record\install-record.txt --single-version-ext ernally-managed ----install-headers C:\Users\Admin1\Desktop\python\virtu al\include\site\python2failed error code C:\Users\Admin1\Desktop\py thon\virtual\build\MySQL-python Storing debug log failure C:\Users\Admin1\pip\pip.需要安装MYSQL数据库和vc相关库,而自己只需要方便远程连接对服务器数据库操作和学习python,所以没有必要安装这些。
找到如下解决方法:
install using wheel
pip install wheelMySQL_python安装版本 http://www.lfd.uci.edu/~gohlke/pythonlibs/#mysql-python 下载后,直接使用pip安装:
pip install MySQL_python-1.2.5-cp27-none-win_amd64.whl如下:
这样就安装成功。
本文出自 “都市布衣” 博客,请务必保留此出处http://sunday208.blog.51cto.com/377871/1746404
相关文章推荐
- (译)Python关键字yield的解释(stackoverflow)
- python中的闭包
- 探究python中open函数的使用
- 【小甲鱼】001初识Python
- 数学之路-python计算实战(16)-机器视觉-滤波去噪(邻域平均法滤波)
- 性能测试培训: 监控CPU之python
- Python的IDE ====>>> Atom
- Python抓取网页图片
- python自动化运维 第2章 业务服务监控详解 2.1.1
- Python Requests-学习笔记(11)-请求与响应对象
- 利用Python requests库模拟登陆学校教务系统
- Python利用Requests库写爬虫(一)
- Learning Python(11)--paramiko模块
- Python地址簿
- python引用非当前作用于变量时需使用关键字声明一下
- Python——正则表达式(5)
- Python——正则表达式(4)
- python 使用poplib获取邮件
- Python Requests-学习笔记(10)-会话对象
- Python3.4简单爬虫实现之抓取糗事百科段子