>>> yum install MySQL-p*
>>>yum install python-devel
>>>cd MySQL-python-1.2.3
>>> python setup.py build
>>> python setup.py install
>>> yum install MySQL-p*
>>>yum install python-devel
>>>cd MySQL-python-1.2.3
>>> python setup.py build
>>> python setup.py install
转载于:https://www.cnblogs.com/guke/p/3647596.html