Need help in Py2exe

Fredrik Lundh fredrik at pythonware.com
Fri Oct 20 01:16:39 EDT 2006


Kirt wrote:

> -------------------------------------------------------------------------------
> When i run this as python setup.py 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 "main.py", 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 setup.py file. Can anyone help?

there's a page on the py2exe site about tweaks necessary for specific 
modules:

     http://www.py2exe.org/index.cgi/WorkingWithVariousPackagesAndModules

look for:

     If you're getting File "xml\sax\saxexts.pyc", line 77, in
     make_parser; xml.sax._exceptions.SAXReaderNotAvailable: No
     parsers found, read this

</F>




More information about the Python-list mailing list