python-samples
python-samples copied to clipboard
ModuleNotFoundError: No module named 'googleapiclient'
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
Steps to Reproduce the Problem
Followed the guide here (https://developers.google.com/sheets/api/quickstart/python)
- Download "credentials.json" to the working directory.
- Install google library: pip install --upgrade google-api-python-client google-auth-httplib2 google-auth-oauthlib
- python quickstart.py
Specifications
- Python version (
python --version): 3.7.4 - OS (Mac/Linux/Windows): Mac 10.13.6