您的位置:首页 > 编程语言 > Python开发

安装python goose 遇到的python-dev 以及python-devel问题

2015-05-07 10:28 495 查看
安装python goose 报错

src/lxml/lxml.etree.c:8:22: 错误:pyconfig.h:没有那个文件或目录

src/lxml/lxml.etree.c:16:20: 错误:Python.h:没有那个文件或目录

src/lxml/lxml.etree.c:18:6: 错误:#error Python headers needed to compile C extensions, please install development version of Python.

error: Setup script exited with error: command 'gcc' failed with exit status 1

开始以为是gcc问题,但是发现gcc已经安装了。最后查找资料。

需要安装python-dev ,安装python-dev不成功,

报错 No package python-dev 查资料,需要安装python-devel  

安装python-devel,报错,不成功

继续。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  python gcc goose