No module named urllib

John Machin sjmachin at lexicon.net
Mon May 7 19:00:54 EDT 2007


On May 8, 8:06 am, HMS Surprise <j... at datavoiceint.com> wrote:
> I edited environment varialbes and have added C:\Python25\Lib to
> PYTHONPATH but get the no module message when the statement

That directory should already be in sys.path after a normal Python
install. Likewise the PYTHONPATH environment variable should be
undefined:

DOS_prompt> set PYTHONPATH
Environment variable PYTHONPATH not defined

What was already in PYTHONPATH before you added something?
Why did you think you needed to change things?
>
> import urllib
>
> is executed.
>
> Even tried copying the urllib file to my working directory.
>
> Any suggestions?





More information about the Python-list mailing list