iwcook58 at gmail.com iwcook58 at gmail.com
Sun Jan 9 19:44:10 EST 2005

I am having a problem running py2exe on my computer.

When running the exe that has been generated by py2exe the following
error comes up.

C:\MyPython\dist>kirbyutils.exe kirby350.xml
Traceback (most recent call last):
File "kirbyutils.py", line 292, in ?
File "kirbyutils.py", line 261, in main
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'm baffled.
I have searched google. There are lots of threads about
"xml.sax._exceptions.SAXReaderNotAvailable: No parsers found" but I do
not understand what is wrong.

There is thread

that made a suggestion or two basically to check xml has been

Here are my results..

Python 2.3.4 (#53, May 25 2004, 21:17:02) [MSC v.1200 32 bit (Intel)]
on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import xml
>>> print xml
<module '_xmlplus' from
>>> import xml.dom
>>> print xml.dom
<module 'xml.dom' from
>>> import xml.dom.minidom
>>> print xml.dom.minidom
<module 'xml.dom.minidom' from

I have installed pyxml and everything I can think of..

Setup.cmd is...
setup.py py2exe -i xml.sax.drivers2.drv_pyexpat -i

Setup.py is...
# setup.py
from distutils.core import setup
import py2exe
options = {"py2exe": {"packages": ["encodings"],
"dll_excludes":["mfc71.dll"]}} )

The imports in kirbyutils.py are....
import os
import zipfileext
import zipfile
import sys
import xml.sax as sax
import xml.sax.handler
import fnmatch
import shutil
import binascii
import time
import filecmp

What am I missing??

Thanks in advance.

Ian Cook
(Freeware author of Kirby Alarm And Task Scheduler www.kirbyfooty.com)

More information about the Python-list mailing list