python setup.py py2exe -p xml

This fixes the problem. I don't know why...

On 9/28/07, Robert Dailey < rcdailey@gmail.com> wrote:

I've got a very trivial py2exe script for a single python script file of mine. When I run the resulting executable on my own machine, it works fine. However if I run it on someone elses machine, it gives the error below:
ERROR: No module named expat; use SimpleXMLTreeBuilder instead

I have attached the python script and the py2exe script to this email. If no one would mind, please look at it and let me know why the above error is happening. Thank you.