2

I'm trying to use the python google-api-python-client for a Youtube Data API project but when I run the following line:

from apiclient.discovery import build

I get the following eror:

from apiclient.discovery import build ModuleNotFoundError: No module named 'apiclient.discovery'

import apiclient runs fine but importing discovery returns an error.

I already checked the top answers from ImportError: No module named apiclient.discovery, but to no avail.

When I run python --version: I get Python 3.7.6


I'm running MacOs Catalina

AaravM4
  • 342
  • 1
  • 2
  • 16

1 Answers1

2

Nevermind I fixed the issue by switching apiclient with googleapiclient

AaravM4
  • 342
  • 1
  • 2
  • 16