On Oct 10, 1:48 pm, Wojtek Walczak <[EMAIL PROTECTED]> wrote: > On Thu, 9 Oct 2008 22:47:58 -0700 (PDT), Robert Hancock wrote: > >>>> import CGIHTTPServer > ... > > ImportError: cannot import name urlparse > > ... > > It points to the third line of the comment. Any ideas on how to > > proceed with the debugging? > > Have you tried getting rid of this comment? I doubt that > the comment is a reason of this error, but it seems that > it shadows the real problem. Moreover, try to import urlparse > itself and check if you got the pyc file for urlparse.py > in your */lib/python2.5/ directory. > > -- > Regards, > Wojtek Walczak,http://tosh.pl/gminick/
It turns out that I had a script named urlparse.py in my path in another directory. I'm still not sure why the traceback pointed to the comment. -- http://mail.python.org/mailman/listinfo/python-list