发布时间:2019-09-19 08:00:54编辑:auto阅读(3046)
由于python的命令补全需要使用到readline模块,在安装readline模式时,提示如下错误:
/usr/bin/ld: cannot find -lncurses
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
解决方法:
yum install -y ncurses-devel
上一篇: python安装pyExcelerato
下一篇: Linux 源码安装Python
54929
41721
36309
31746
26642
26332
24860
20473
16415
15827
2947°
2684°
2783°
2920°
2863°
3112°
3013°
2859°
2850°
2818°