import httplib ImportError: No module named httplib

The Solution to import httplib ImportError: No module named httplib is


You are running Python 2 code on Python 3. In Python 3, the module has been renamed to http.client.

You could try to run the 2to3 tool on your code, and try to have it translated automatically. References to httplib will automatically be rewritten to use http.client instead.

~ Answered on 2012-12-08 14:16:21


Most Viewed Questions: