我试图用 pip 安装 seccomplite 包。相反,我得到了这些错误。请帮忙。
收集 seccomplite 使用缓存的 seccomplite-0.1.0a3.tar.gz 安装收集的包:seccomplite Running setup.py install for seccomplite ... error Complete output from command /usr/bin/python -u -c "import setuptools, tokenize; file ='/tmp/pip-build-HRGD9U/seccomplite/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-JqYhgy-record/install-record.txt --single-version-externally-managed --compile: running install running build running build_ext building 'seccomplite' 扩展创建build 创建 build/temp.linux-x86_64-2.7 gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong - -param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 - g -pipe -Wall -Werror=格式-安全 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune =generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DMODULE_NAME="seccomplite" -DMAJOR_VERSION="0" -DMINOR_VERSION="1" -DDEVELOP_VERSION="0a3" -DMODULE_DESCRIPTION="轻量级 libseccomp2 python 桥" -I/usr/include/ python2.7 -c filter.c -o build/temp.linux-x86_64-2.7/filter.o gcc: error: /usr/lib/rpm/redhat/redhat-hardened-cc1: No such file or directory error: command 'gcc' 失败,退出状态为 17 -c filter.c -o build/temp.linux-x86_64-2.7/filter.o gcc: error: /usr/lib/rpm/redhat/redhat-hardened-cc1: No such file or directory error: command 'gcc ' 退出状态为 1 失败7 -c filter.c -o build/temp.linux-x86_64-2.7/filter.o gcc: error: /usr/lib/rpm/redhat/redhat-hardened-cc1: No such file or directory error: command 'gcc ' 退出状态为 1 失败
----------------------------------------
命令“/usr/bin/python -u -c”导入setuptools,tokenize;file ='/tmp/pip-build-HRGD9U/seccomplite/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-JqYhgy-record/install-record.txt --single- version-externally-managed --compile" 失败,错误代码 1 在 /tmp/pip-build-HRGD9U/seccomplite/