升级部署Python后发现交互模式下输入Ctrl,Alt,箭头等会出现乱码,
解决如下:
$sudo yum -y install readline readline-devel
进入安装目录,
$.configure
$vim Modules/Setup //取消#readline readline.c -lreadline -ltermcap行的注释符#
//su 转到root账户
#make;make install
升级部署Python后发现交互模式下输入Ctrl,Alt,箭头等会出现乱码,
解决如下:
$sudo yum -y install readline readline-devel
进入安装目录,
$.configure
$vim Modules/Setup //取消#readline readline.c -lreadline -ltermcap行的注释符#
//su 转到root账户
#make;make install