pip安装MySQL-python
<br>
首先安装pip
代码语言:javascript复制yum install python-setuptools python-setuptools-devel
easy_install pip
然后升级pip,安装setuptools合适的版本
代码语言:javascript复制yum install mysql-devel
pip install -U pip
pip install setuptools==0.8
pip install MySQL-python