Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Import "googleapiclient.discovery" could not be resolved #2329

Unanswered
eleondida asked this question in Q&A
Discussion options

Hello,

I'm trying to get started with the YouTube Data API vs in Python but I'm getting: from googleapiclient.discovery import build
ModuleNotFoundError: No module named 'googleapiclient'.

google-api-python-client is correctly installed

How can I resolve this issue?

You must be logged in to vote

Replies: 2 comments 1 reply

Comment options

I also have this issue, but ONLY on Windows. I tried Fedora and openSUSE - the same script works fine there...

You must be logged in to vote
1 reply
Comment options

I have the same issue, extremely frustrating. Can someone please come to the rescue?

Comment options

The problem is that you need specific versions. For example the following requirements.txt for pip does work:

google-api-python-client==1.7.2
google-auth==1.8.0
google-auth-httplib2==0.0.3
google-auth-oauthlib==0.4.1
You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

AltStyle によって変換されたページ (->オリジナル) /