python终端中退格键,方向键不能使用

在安装Python的时候先安装

      yum install readline-devel.x86_64 -y

如果python已经安装过了就重新安装

    ./configure

       make all

    make install

原文地址:https://www.cnblogs.com/along1226/p/5583793.html