Question

I get the following error on Python 2.6.x, how should I fix this?

  except (httplib.IncompleteRead), e:
NameError: name 'httplib' is not defined
Was it helpful?

Solution

Import Module on file

import httplib

OTHER TIPS

Import the module at the top of the file.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top