From: Fahlgren, E. <efa...@li...> - 2011-09-02 14:57:22
|
On 09/02/2011 10:36 AM, Thomas Eschenburg wrote: > Hi, > > I made a python script that is running perfectly without any errors. > > Now trying to compile with py2exe which I used many times before > without any real trouble. > > At the end of compiling it now claims: > > The following modules appear to be missing > > ['cElementTree', 'elementtree.ElementTree', 'email.Generator', 'email.Iterators', This is a known problem, see http://www.py2exe.org/index.cgi/WorkingWithVariousPackagesAndModules Here's my fix, direct from my code: import xml.etree.ElementTree as ET # Overcomes a packaging error in cElementTree, so py2exe works. import xml.etree.cElementTree as ET HTH, Eric |