0

Because Youtube Engineers monitor stack overflow with tags related to Youtube API v3

When executing:

#!/usr/bin/python

from apiclient.discovery import build
from apiclient.errors import HttpError
from oauth2client.tools import argparser

I am receiving the following error:

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

Please Google Engineers correct the samples so people starting with the API don't get stuck with this kind of errors.

2

1 Answer 1

1

The error disappears changing with this minor changes:

from googleapiclient.discovery import build
from googleapiclient.errors import HttpError
from oauth2client.tools import argparser

All this applies to Python 2.7.X

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

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.