运维网's Archiver
论坛
›
Python
› python 安装readline报错
wsxxz
发表于 2018-8-11 09:08:28
python 安装readline报错
由于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
页:
[1]
查看完整版本:
python 安装readline报错