Google-api-python-client: No module named 'apiclient.discovery'

Created on 5 Aug 2018  路  3Comments  路  Source: googleapis/google-api-python-client

Im getting No module named 'apiclient.discovery' error while all dependencies are already installed
and updated using

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

docs

Most helpful comment

Try using "googleapiclient.discovery" instead, e.g.:

from googleapiclient import discovery

All 3 comments

Try using "googleapiclient.discovery" instead, e.g.:

from googleapiclient import discovery

A lot of the docs still reference apiclient instead of googleapiclient, e.g. https://developers.google.com/api-client-library/python/start/get_started

Can those be updated? (I don't think they are open source like the samples?)

Submitted a PR internally to update apiclient to googleapiclient.

Was this page helpful?
0 / 5 - 0 ratings