Could not find the python development headers
2015-11-13 15:45
525 查看
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
参考:http://stackoverflow.com/questions/6232529/how-to-install-pycairo-for-python-3-on-ubuntu-10-04
相关文章推荐
- python 发送邮件实例
- Python设置Socket代理及实现远程摄像头控制的例子
- python with as 用法
- 深入解析Python中的urllib2模块
- 《用Python玩转数据》学习笔记第2周(Part2)
- python 99乘法口诀表
- maya中使用python改变选中物体线框颜色
- python实现布隆过滤器对数据去重
- python 读写、创建 文件
- Python的Flask框架的简介和安装方法
- python AuthenticationError: (535, 'Authentication failed')
- python路径操作
- Python——获取进程信息
- Python——获取电脑信息
- Python——文件内容对比(可以生成HTML来观察结果)
- Python——目录对比源代码
- 命令行退出python方法
- 【转】Python中的GIL、多进程和多线程
- python --网页爬虫,文本处理,科学计算,机器学习,数据挖掘资料+附带工具包下载
- Python基础(二)