pythonpython-3.xpipinstallationhttplib

I try to install httplib on my python but I am getting an error


$ pip install httplib

Collecting httplib

Could not find a version that satisfies the requirement httplib (from versions: )
No matching distribution found for httplib

How to make it work?


Solution

  • Are you using Python3?

    The httplib module has been renamed to http.client in Python3