发布时间:2019-09-19 08:00:54编辑:auto阅读(3072)
由于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
55065
41863
36461
31855
26766
26442
24972
20586
16514
15927
3111°
2822°
2912°
3063°
2999°
3269°
3164°
3003°
2988°
2974°