如何在Ubuntu 7.10 gusty上安装python-lxml 2.1?

我用easy_install lxml==2.1 ,出现以下错误

 src/lxml/lxml.etree.c:120447: erreur: «XML_XPATH_UNDEF_PREFIX_ERROR" undeclared (first use in this function) src/lxml/lxml.etree.c:120456: erreur: «XML_XPATH_UNKNOWN_FUNC_ERROR" undeclared (first use in this function) src/lxml/lxml.etree.c:120465: erreur: «XML_XPATH_INVALID_OPERAND" undeclared (first use in this function) src/lxml/lxml.etree.c:120474: erreur: «XML_XPATH_INVALID_TYPE" undeclared (first use in this function) src/lxml/lxml.etree.c:120483: erreur: «XML_XPATH_INVALID_ARITY" undeclared (first use in this function) src/lxml/lxml.etree.c:120492: erreur: «XML_XPATH_INVALID_CTXT_SIZE" undeclared (first use in this function) src/lxml/lxml.etree.c:120501: erreur: «XML_XPATH_INVALID_CTXT_POSITION" undeclared (first use in this function) src/lxml/lxml.etree.c:120698: erreur: «LIBXSLT_VERSION" undeclared (first use in this function) src/lxml/lxml.etree.c:120709: erreur: «xsltLibxsltVersion" undeclared (first use in this function) src/lxml/lxml.etree.c:120720: erreur: «__pyx_v_4lxml_5etree_XSLT_DOC_DEFAULT_LOADER" undeclared (first use in this function) src/lxml/lxml.etree.c:120720: erreur: «xsltDocDefaultLoader" undeclared (first use in this function) src/lxml/lxml.etree.c:120729: erreur: «__pyx_f_4lxml_5etree__xslt_doc_loader" undeclared (first use in this function) error: Setup script exited with error: command 'gcc' failed with exit status 1 

你有没有安装libxml2-dev和libxslt1-dev?

此外,对于一年前结束的勇气的支持,你应该考虑转移到强硬,这将支持,直到2013年4月