在Fedora 22上,pip install gnureadline
失败并显示错误:
/usr/bin/ld: cannot find -lncurses
collect2: error: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
答案 0 :(得分:0)
您必须先从软件包控件中安装gnureadline二进制文件:
sudo yum install readline-devel
答案 1 :(得分:0)
在yum install readline-devel
如果已经安装了libxml-devel
,libxlst-devel
和python-devel