ipython easy_install/pip 错误

ipython easy_install/pip 错误

gcc 在尝试执行以下操作时发出以下抱怨sudo easy_install readline

Running readline-6.2.4/setup.py -q bdist_egg --dist-dir /tmp/easy_install-JEUNX3/readline-6.2.4/egg-dist-tmp-_THoHR
/usr/bin/ld: cannot find -lncurses
collect2: ld returned 1 exit status
error: Setup script exited with error: command 'gcc' failed with exit status 1

我是否缺少一些 RPM 依赖项来获得良好的构建环境?

Linux vbweb 3.2.22-35.60.amzn1.x86_64

谢谢!

答案1

您需要安装ncurses开发包:yum install libncurses-dev

相关内容