python-samples icon indicating copy to clipboard operation
python-samples copied to clipboard

ModuleNotFoundError: No module named 'googleapiclient'

Open TaeYoungDavid opened this issue 5 years ago • 3 comments

Expected Behavior

Was trying the "Quickstart" for python. The sample was supposed to open a new window or tab in your default browser.

Actual Behavior

Traceback (most recent call last): File "quickstart.py", line 4, in from googleapiclient.discovery import build ModuleNotFoundError: No module named 'googleapiclient'

Steps to Reproduce the Problem

Followed the guide here (https://developers.google.com/sheets/api/quickstart/python)

  1. Download "credentials.json" to the working directory.
  2. Install google library: pip install --upgrade google-api-python-client google-auth-httplib2 google-auth-oauthlib
  3. python quickstart.py

Specifications

  • Python version (python --version): 3.7.4
  • OS (Mac/Linux/Windows): Mac 10.13.6

TaeYoungDavid avatar Aug 18 '20 07:08 TaeYoungDavid