pycharm上安装MySQLdb-Python 报错解决方案
2016-07-12 16:04
579 查看
安装MySQL-python报错比较多,但不关mysql的事
Windows下安装MySQLdb遇到的问题及解决方法
pip install MySQL-python
error: Microsoft Visual C++ 9.0 is required (Unable to find vcvarsall.bat).
_mysql.c(42) : fatal error C1083: Cannot open include file: ‘config-win.h’:
No such file or directory
error: command ‘C:\Users\Administrator\AppData\Local\Programs\Common\
Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe’ failed with exit
MySQL-python 1.2.3 for Windows and Python 2.7, 32bit and 64bit versions | codegood
http://www.codegood.com/archives/129
Windows下安装MySQLdb遇到的问题及解决方法
pip install MySQL-python
error: Microsoft Visual C++ 9.0 is required (Unable to find vcvarsall.bat).
Get it from http://aka.ms/vcpython27
按上面提示到http://aka.ms/vcpython27下载安装后执行VCForPython27.msi后仍然报下面的错误:_mysql.c(42) : fatal error C1083: Cannot open include file: ‘config-win.h’:
No such file or directory
error: command ‘C:\Users\Administrator\AppData\Local\Programs\Common\
Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe’ failed with exit
status 2
解决办法:搜索或者到下面网址下载安装:MySQL-python-1.2.3.win-amd64-py2.7.exeMySQL-python 1.2.3 for Windows and Python 2.7, 32bit and 64bit versions | codegood
http://www.codegood.com/archives/129
相关文章推荐
- 如何重装TCP/IP协议
- Windows 8 官方高清壁纸欣赏与下载
- 谁是桌面王者?Win PK Linux三大镇山之宝
- 对《大家都在点赞 Windows Terminal,我决定给你泼一盆冷水》一文的商榷
- Windows Clang开发环境备忘
- 从Windows系统下访问Linux分区相关软件
- 对《大家都在点赞 Windows Terminal,我决定给你泼一盆冷水》一文的商榷
- Windows下搭建本地SVN服务器
- 使用Windows原生命令一键清空剪贴板
- Patrol 7 架构下?的处理方法
- windows用windeployqt发布qt quick application程序
- 利用开源软件打造自己的全功能远程工具
- Windows 8虚拟机不能全屏的解决方法
- 虚拟化基础架构Windows 2008篇之1-虚拟化基础服务概述
- 虚拟化基础架构Windows 2008篇之5-安装Windows部署服务
- 虚拟化基础架构Windows 2008篇之7-添加其他操作系统的安装镜像
- 虚拟化基础架构Windows 2008篇之9-配置Windows部署服务
- 虚拟化基础架构Windows 2008篇之12-WSUS工作站端配置