py2exe and libxml

Laszlo Nagy gandalf at
Mon Sep 4 18:27:41 CEST 2006

I wrote a little win32 console application that uses libxml2. It is 
working fine. If I create an .exe version, I get this error when I try 
to start the program:

Traceback (most recent call last):
  File "", line 3, in ?
  File "mylib\item.pyc", line 5, in ?
ImportError: dynamic module does not define init function (initlibxml2)

What is wrong here?


More information about the Python-list mailing list