ImportError: No module named googleapiclient.discovery

Ali Al-ali picture Ali Al-ali · Mar 24, 2017 · Viewed 27.3k times · Source

I have python webapp2 application but when I run it I get this error

ImportError: No module named googleapiclient.discovery

what I found in stackoverflow is ImportError: No module named apiclient.discovery

I tried to do what people said but it did not work

EDIT:

pip freeze

enter image description here

Answer

Ananya_Chandraker picture Ananya_Chandraker · Sep 5, 2018

This is resolved in another thread: ImportError: No module named apiclient.discovery

Also this one worked in our case

pip install --upgrade google-api-python-client

Using python 3.6.5