HIT-SCIR / pyltp

pyltp: the python extension for LTP
1.53k stars 352 forks source link

pip安装错误 error: command 'gcc' failed with exit status 4 #208

Closed chendongcse closed 4 years ago

chendongcse commented 5 years ago

安装错误

提示 uild/temp.linux-x86_64-3.6/ltp/thirdparty/dynet/dynet/nodes.o -std=c++0x {standard input}: Assembler messages: {standard input}:164283: Warning: end of file not at end of a line; newline inserted {standard input}:165849: Error: unknown pseudo-op: `.lb' {standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive gcc: internal compiler error: Killed (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See http://bugzilla.redhat.com/bugzilla for instructions. error: command 'gcc' failed with exit status 4

----------------------------------------

Command "/usr/bin/python36 -u -c "import setuptools, tokenize;file='/tmp/pip-install-fjm6su24/pyltp/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-record-5yzs3n__/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-fjm6su24/pyltp/

似乎是内存不足?求助,系统是Centos