PythonAnywhere Forums

File "/usr/lib/python3.6/urllib/request.py", line 1318, in do_open encode_chunked=req.has_header('Transfer-encoding'))

File "/usr/lib/python3.6/urllib/request.py", line 1318, in do_open encode_chunked=req.has_header('Transfer-encoding'))

Is the problem with "import urllib.request" not being available?

What's the actual exception? That looks like a little bit pulled out of the middle of a stack trace.