pip安装MySQL-python

<br>

首先安装pip

yum install python-setuptools python-setuptools-devel
easy_install pip

然后升级pip,安装setuptools合适的版本

yum install mysql-devel
pip install -U pip
pip install setuptools==0.8
pip install MySQL-python