D
D
DanTheMan2017-04-24 19:54:35
Python
DanTheMan, 2017-04-24 19:54:35

Why am I getting an error - ImportError: No module named httplib2?

When I run quickstart.py in the terminal, I get --"ImportError: No module named httplib2"-- although I have access to httplib2, where is the failure? Thanks in advance

Traceback (most recent call last):
File "quickstart.py", line 2, in
import httplib2
ImportError: No module named httplib2

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2017-04-24
@LazyTalent

Most likely, the lib is installed under one version of python, and the script is run under another. Try to do:

pip list
pip2 list
pip3 list

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question