0

I am using Anaconda and error come when using google-api-python-client.

Error:

from apiclient.discovery import build
ImportError: No module named discovery
2

1 Answer 1

1

I also tried sudo pip install --upgrade google-api-python-client

But it didn't worked for me. Then I tried

from googleapiclient.discovery import build

instead of

from apiclient.discovery import build

It worked for me. Hope it helps.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.