Linux在shell中进入python敲方向键出现「^[[C^[[D」的解决办法

安装yum -y install readline-devel,然后在重新编译python

原文地址:https://www.cnblogs.com/dannylinux/p/8609936.html