​http://www.zhihu.com/question/21518507​​​
参看知乎上的回答,
解决方法是安装下面两个。
1,安装yum -y install readline-devel
2,easy_install readline