centos6.2下安装ipython出现gcc: readline/libreadline.a报错

ipython这个工具非常好用,不过在linux下安装的时候却报了下面2个错。(环境是centos6.2,python2.7)
gcc: readline/libreadline.a: No such file or directory
gcc: readline/libhistory.a: No such file or directory

解决:
只需要
yum -y install readline-devel
yum -y install patch
pip install ipython
即可

你可能感兴趣的:(ipython)