[XML-SIG] lxml and py2exe

Jan Mewes jan-mewes at web.de
Tue Jan 13 09:22:27 CET 2009

I've a problem with lxml in an .exe file from py2exe. This is the
error message:

Traceback (most recent call last):
  File "PyQuizzer.py", line 3, in <module>
  File "zipextimporter.pyc", line 82, in load_module
  File "questions.pyc", line 2, in <module>
  File "zipextimporter.pyc", line 98, in load_module
  File "lxml.etree.pyx", line 47, in lxml.etree (src/lxml/lxml.etree.c:
ImportError: No module named _elementpath

I've tryed to build a minimal file but it doen't cause this problem.
but there is no error-message. It simply closes the console.

I've found a similar problem in the archives of lxml-dev but I don't
understand the solution.
Would you be so kind to explain it to me, if you 've got it?

Thanks in advance!

More information about the XML-SIG mailing list