urlparse import Faillure

Wojtek Walczak gminick at bzt.bzt
Fri Oct 10 13:48:22 EDT 2008


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/



More information about the Python-list mailing list