I
iwcook58
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
http://groups-beta.google.com/group..._doneTitle=Back+to+Search&&d#f47d9aeaa584b8c6
that made a suggestion or two basically to check xml has been
installed.
Here are my results..
C:\MyPython>\Python23\python.exe
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.<module '_xmlplus' from
'C:\Python23\lib\site-packages\_xmlplus\__init__.pyc'><module 'xml.dom' from
'C:\Python23\lib\site-packages\_xmlplus\dom\__init__.pyc'<module 'xml.dom.minidom' from
'C:\Python23\lib\site-packages\_xmlplus\dom\minid
om.pyc'>
I have installed pyxml and everything I can think of..
Setup.cmd is...
setup.py py2exe -i xml.sax.drivers2.drv_pyexpat -i
win32com.gen_py.*
Setup.py is...
# setup.py
from distutils.core import setup
import py2exe
setup(console=["kirbyutils.py"],
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)
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
http://groups-beta.google.com/group..._doneTitle=Back+to+Search&&d#f47d9aeaa584b8c6
that made a suggestion or two basically to check xml has been
installed.
Here are my results..
C:\MyPython>\Python23\python.exe
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.<module '_xmlplus' from
'C:\Python23\lib\site-packages\_xmlplus\__init__.pyc'><module 'xml.dom' from
'C:\Python23\lib\site-packages\_xmlplus\dom\__init__.pyc'<module 'xml.dom.minidom' from
'C:\Python23\lib\site-packages\_xmlplus\dom\minid
om.pyc'>
I have installed pyxml and everything I can think of..
Setup.cmd is...
setup.py py2exe -i xml.sax.drivers2.drv_pyexpat -i
win32com.gen_py.*
Setup.py is...
# setup.py
from distutils.core import setup
import py2exe
setup(console=["kirbyutils.py"],
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)