您的位置:首页 > 编程语言 > Python开发

解决Python下pip install MySQL-python失败的问题

2016-11-23 20:18 531 查看
原文地址:https://my.oschina.net/u/921876/blog/406379

命令:

pip install MySQL-python

报错:

_mysql.c(42) : fatal error C1083: Cannot open include file: 'config-win.h': No s
uch file or directory

error: command 'C:\\Program Files (x86)\\Common Files\\Microsoft\\Visual C++ for
 Python\\9.0\\VC\\Bin\\cl.exe' failed with exit status 2

环境:

OS:Win7-64bit
Python:2.7.9

解决方案:

在这里下载对应文件

http://www.codegood.com/downloads
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: