Linux

ipython easy_install/pip 錯誤

  • October 19, 2012

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

謝謝!

您需要安裝ncurses開發包:yum install libncurses-dev.

引用自:https://serverfault.com/questions/440085