No module named urllib

HMS Surprise john at datavoiceint.com
Mon May 7 19:02:03 EDT 2007


On May 7, 5:45 pm, Jorge Godoy <jgo... at gmail.com> wrote:
> HMS Surprise <j... at datavoiceint.com> writes:
> > Perhaps I should have put qoutes in my sentence.
>
> Or I should have read it slowly. ;-)
>
> > I get the "no module message named urllib".
>
> Can you please
>
> import sys
> print sys.path
>
> and put the answer here on the newsgroup?
>
> --
> Jorge Godoy      <jgo... at gmail.com>

Thanks for posting.

Ah, there is the problem. Now how to fix it? I am running my program
from maxq which generates jython scripts. It is not looking at my
PYTHONPATH as

sys.path = ['.', 'C:\\maxq\\lib\\Lib', 'C:\\maxq\\jython']

However I copied the urllib file to the directory with the scripts so
thought it should pick it up there.

jh




More information about the Python-list mailing list