直接使用# pip install mysql-python 命令報 EnvironmentError: mysql_config not found 錯誤
安裝mysql-phthon 需要用的mysql, mysql-devel, gcc libffi-devel python-devel openssl-devel
如果報:
_mysql.c:2666: error: ‘_mysql_ConnectionObject’ has no member named ‘open’ error: command 'gcc' failed with exit status 1
則檢查或重新安裝
$ yum install gcc libffi-devel python-devel openssl-devel