Python: Httplib2 Module Not Found

Viewed 61738

I tried to import the module but i am getting the error shown below:-

sh-3.2# python -V
Python 2.6.4
sh-3.2# python -c "import httplib2"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named httplib2

How to fix this Error?

6 Answers

You need to install the httplib2 package from your package manager.

On Ubuntu: sudo apt-get install python-httplib2

I suppose you could start by installing httplib2.

Download it?

Make sure it's on your PYTHONPATH

FOR WINDOWS:

if python is installed & set as environment variable

python -m pip install httplib2

Related