发布时间:2019-09-19 08:00:54编辑:auto阅读(2612)
由于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
51968
51771
42052
38894
33390
30356
28994
24016
23927
22286
15°
485°
2656°
3352°
2769°
2761°
3539°
2719°
3548°
5851°