close

[Solved] ImportError: No module named googleapiclient.discovery

Hello Guys, How are you all? Hope You all Are Fine. Today I get the following error ImportError: No module named googleapiclient.discovery in python. So Here I am Explain to you all the possible solutions here.

Without wasting your time, Let’s start This Article to Solve This Error.

How ImportError: No module named googleapiclient.discovery Error Occurs?

Today I get the following error ImportError: No module named googleapiclient.discovery in python.

How To Solve ImportError: No module named googleapiclient.discovery Error ?

  1. How To Solve ImportError: No module named googleapiclient.discovery Error ?

    To Solve ImportError: No module named googleapiclient.discovery Error I had the same issue. I am using the requirements.txt to install the libraries. My requirements.txt had google-api-python-client==1.6.2 and pip install was not installing the lib.

  2. ImportError: No module named googleapiclient.discovery

    To Solve ImportError: No module named googleapiclient.discovery Error I had the same issue. I am using the requirements.txt to install the libraries. My requirements.txt had google-api-python-client==1.6.2 and pip install was not installing the lib.

Solution 1

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

Solution 2

I had the same issue. I am using the requirements.txt to install the libraries. My requirements.txt had google-api-python-client==1.6.2 and pip install was not installing the lib. I got rid of the version and have only google-api-python-client in the requirements.txt. After that i ran the pip install again and appengine app worked after that.

Summery

It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you? Thank You.

Also, Read