I had a similar problem with py2exe 0.6.4.
When using elementtree along with PyXML, it isn't able to load the
After poking around a bit, it looks like the '_xmlplus' module hack that
is used by PyXML is not compatible with py2exe 0.6.4.
So, to get elementtree to work, i added an exclude for '_xmlplus' to my
py2exe setup.py file. (alternatively, I could have just uninstalled PyXML=
Hope this info helps!
Jim Hargrave wrote:
> Same here after an upgrade from 0.6.3 to 0.6.4. But I get:
> The following modules appear to be missing
> I also have PyXML 0.8.4 and using the latest ActiveState Python 2.4.2
> Build 10 - this worked with py2exe 0.6.3.
> Greg Lee wrote:
>> In upgrading from 0.6.3 to 0.6.4 I encountered the following:
>> Pyexe 0.6.4 with Python 2.4 does not find these modules:
>> ['win32com.shell.shell', 'win32com.shell.shellcon', 'xml.xpath']
>> The exe refuses to load; the log file contains:
>> Traceback (most recent call last):
>> File "tksurface.py", line 6, in ?
>> File "phx.pyc", line 2, in ?
>> File "xml\dom\__init__.pyc", line 220, in ?
>> ImportError: cannot import name DOMImplementation
>> With respect to win32com.shell, my setup24.py contains the recommended=
>> trick described at
>> I'm also using pywin32 205 and PyXML 0.8.4.
>> Finally, this more-or-less worked correctly in py2exe 0.6.3: the exe
>> ran although some modules could not be found:
>> ['DateTime', 'Ft.Lib', 'Ft.Lib.DumpBgTuple', 'Ft.__init__',
>> 'XPathParserc', 'ext.IsDOMString', 'ext.SplitQName', 'xml.xslt',
> This SF.Net email is sponsored by xPML, a groundbreaking scripting lang=
> that extends applications into web and mobile media. Attend the live
> and join the prime developer group breaking into this new coding territ=
> Py2exe-users mailing list