① yum -y install ncurses-devel patch ② pip install readline 即可解决 转载于:https://blog.51cto.com/zhouxt/1747958