错误代码:
0 1 2 3 4 5 |
/bin/ld: cannot find -lncurses collect2: error: ld returned 1 exit status error: command 'gcc' failed with exit status 1 ---------------------------------------- Command "/opt/Python-3.6.5/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-2j6d5ls7/readline/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-onyvjzbg-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-2j6d5ls7/readline/ |
解决方法:
0 |
yum install ncurses-devel |
申明:除非注明Byrd's Blog内容均为原创,未经许可禁止转载!详情请阅读版权申明!