[lxml-dev] error installing lxml
![](https://secure.gravatar.com/avatar/801841679869ebeba8515d6a701f6ddd.jpg?s=120&d=mm&r=g)
I am having trouble to install lxml. I already installed libxml2 (2.6.30) and libxslt, Cython (0.9.6.12) easy_install lxml gives me error Building with Cython 0.9.6.12. Building lxml version 2.0.2. warning: no previously-included files found matching 'doc/pyrex.txt' src/lxml/lxml.etree.c:1536: error: syntax error before 'xmlSchemaSAXPlugStruct' src/lxml/lxml.etree.c:1536: error: syntax error before 'xmlSchemaSAXPlugStruct' What am I missing? Best regards, Elena Soutyrina Application Engineer | Scope Seven 310 220 3939 x430 2201 Park Place, Suite 100 | El Segundo, CA 90245 www.scopeseven.com
![](https://secure.gravatar.com/avatar/8b97b5aad24c30e4a1357b38cc39aeaa.jpg?s=120&d=mm&r=g)
Hi, Elena Soutyrina wrote:
I am having trouble to install lxml.
I already installed libxml2 (2.6.30) and libxslt, Cython (0.9.6.12)
Not installing Cython is generally a good idea, although it shouldn't change anything here.
easy_install lxml gives me error Building with Cython 0.9.6.12.
Building lxml version 2.0.2.
warning: no previously-included files found matching 'doc/pyrex.txt'
src/lxml/lxml.etree.c:1536: error: syntax error before 'xmlSchemaSAXPlugStruct'
src/lxml/lxml.etree.c:1536: error: syntax error before 'xmlSchemaSAXPlugStruct'
What am I missing?
At least, I'm missing the output that comes *before* the gcc errors above. Could you send that in as well? Stefan
participants (2)
-
Elena Soutyrina
-
Stefan Behnel