为什么需要未知的gcc来编译spaCy?

时间:2018-08-22 20:02:30

标签: python linux gcc spacy

在Ubuntu下安装spaCy时,但是出现以下编译错误。

安装代码仅使用pip install spacy

/opt/rh/devtoolset-2/root/usr/bin/gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/mnt/nfs/lijin/local/opt/include/python2.7 -I/tmp/pip-install-ikyFEg/spacy/include -I/mnt/nfs/lijin/local/opt/include/python2.7 -c spacy/parts_of_speech.cpp -o build/temp.linux-x86_64-2.7/spacy/parts_of_speech.o -O2 -Wno-strict-prototypes -Wno-unused-function unable to execute '/opt/rh/devtoolset-2/root/usr/bin/gcc': No such file or directory error: command '/opt/rh/devtoolset-2/root/usr/bin/gcc' failed with exit status 1

我的系统有一个/usr/bin/gcc,但没有/opt/rh/xxx。谁能解决这个问题?谢谢。

0 个答案:

没有答案