直接使用# pip install mysql-python 命令报 EnvironmentError: mysql_config not found 错误
安装mysql-phthon 需要用的mysql, mysql-devel, gcc
如果报:
_mysql.c:2666: error: ‘_mysql_ConnectionObject’ has no member named ‘open’ error: command ‘gcc‘ failed with exit status 1
则检查或重新安装gcc, mysql-devel库
原文:http://www.cnblogs.com/weiok/p/4916815.html