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
Nevermind I fixed the issue by switching apiclient with googleapiclient
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With