Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Yet Another ... ImportError: No module named sax

Reply
Thread Tools

Yet Another ... ImportError: No module named sax

 
 
Adam Jack
Guest
Posts: n/a
 
      08-08-2003
Hello.

I am on W2K w/ ActiveStart Python 2.2.2 build 224. This was working, but
seems to have stopped and won't start again...

Yesterday I read Python tutorials/manuals and today I am tinkering with my
first program & hacking somebody else's program. I was putzing along quite
happily and then I created an xml.py. Immediately things starting going
wrong, see below, so I renamed it to xmlutils.py but I still get the error.
I've cleaned up any *.pyc files I see, but it seems that somehow I've taught
my environment about my xml (which no longer exists) in favour of the system
one. Is this possible? I've not changed my path or anything. Could this be
some sort of registry/optimisation thing?

:\data\OSS\jakarta-gump\python>python gump/exec.py
raceback (most recent call last):
File "gump/exec.py", line 71, in ?
from gump.conf import *
File "F:\data\OSS\jakarta-gump\python\gump\__init__.py", line 94, in ?
from xml.sax import parse
ImportError: No module named sax

Any thoughts on how I make this work again?

regards

Adam


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ImportError: No module named sax.handler? Kelie Python 2 11-30-2007 07:39 AM
Yet another book recommendation, but for someone who can program and yet does not the terminology well Berehem C Programming 4 04-28-2005 05:25 PM
Using JYTHON inside ANT : access os module -> "ImportError: no module named javaos" eric_bellard Python 1 10-07-2004 05:41 AM
RE: Yet Another ... ImportError: No module named sax Adam Jack Python 0 08-08-2003 07:33 PM



Advertisments