繁体   English   中英

cffi软件包在Linux上安装错误

[英]cffi package installation error on Linux

尝试在我的Linux计算机上的python 3.4.3上安装cffi-1.7.0源。 得到以下错误。

$ python setup.py安装

cc1:错误:无法识别的命令行选项“ -Wno-unused-result” cc1:错误:无法识别的命令行选项“ -Wno-unused-result”

No working compiler found, or bogus compiler options
passed to the compiler from Python's distutils module.
See the error messages above.
(If they are about -mno-fused-madd and you are on OS/X 10.8,
see http://stackoverflow.com/questions/22313407/ .)

有人可以帮我解决这个问题吗?

通过设置以下选项可以解决此问题。

setenv CFLAGS =-带参数

setenv CPPFLAGS-实参

谢谢大家的帮助!

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM