红联Linux门户
Linux帮助

Could not find the python development headers

发布时间:2015-11-14 15:43:40来源:linux网站作者:Richard-Lui

Linux centos 安装Graphite,在configure编译时候py2cairo,报错,提示  “Could not find the python development headers”


解决办法:

使用下面一行命令进行编译:

CFLAGS="-l/usr/local/include/python2.7 -l/usr/local/bin" LDFLAGS="-lm -ldl -lutil" ./waf configure


Ubuntu 14.04 64bit安装IPython:http://www.linuxdiyf.com/linux/13981.html

无需操作系统直接运行Python代码:http://www.linuxdiyf.com/linux/12104.html

如何成为Python高手:http://www.linuxdiyf.com/linux/14571.html

十分钟学会Python:http://www.linuxdiyf.com/linux/14545.html

提高Python运行效率的六个窍门:http://www.linuxdiyf.com/linux/12569.html