Need help in Py2exe

Kirt moqtar at
Fri Oct 20 06:22:38 CEST 2006

I have a simple scrips that Parses a XML file and prints its element.


The scripts works fine from comand prompt.

Now i wanted to convert it to an exe. So i wrote a scripts as
from distutils.core import setup
import py2exe

    name = "Main",
    description = " Parse XML",
    version = "0.1",
    windows = [
        {"script": "",
        "icon_resources": [(1, "xml.ico")]

When i run this as python py2exe. I get an main.exe file in
dist folder. But when i run the file i get an error --
Traceback (most recent call last):
  File "", line 7, in ?
  File "xml\sax\sax2exts.pyc", line 37, in make_parser
  File "xml\sax\saxexts.pyc", line 77, in make_parser
xml.sax._exceptions.SAXReaderNotAvailable: No parsers found..

I think i am missing something in file. Can anyone help?

More information about the Python-list mailing list