pip不允许我安装seccomplite

时间:2016-12-21 19:29:30

标签: python python-3.x package pip seccomp

我尝试用pip安装seccomplite包。相反,我得到了这些错误。请帮忙。

  

收集seccomplite     使用缓存的seccomplite-0.1.0a3.tar.gz   安装收集的软件包:seccomplite     运行setup.py install for seccomplite ...错误       从命令/ 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(编译(代码,文件,'exec'))“install --record /tmp/pip-JqYhgy-record/install-record.txt --single-version-external-managed --compile:       运行安装       运行构建       运行build_ext       建立'seccomplite'扩展       创建构建       创建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 = 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 -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:错误:/ usr / lib / rpm / redhat / redhat-hardened-cc1:没有这样的文件或目录       错误:命令'gcc'失败,退出状态为1

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

命令“/ 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 (编译(代码,文件,'exec'))“install --record /tmp/pip-JqYhgy-record/install-record.txt --single-version-external-managed --compile “在/ tmp / pip-build-HRGD9U / seccomplite /

中出现错误代码1失败

0 个答案:

没有答案