#安装readline-devel
$yum install readline-devel
#重新安装python
$./configure
$make install