ModuleNotFoundError: No module named 'googleapiclient'
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 1/5
- Temps estimé
- Moins d'une heure
- Accessibilité débutants
- 18/100
Piste de recherche
The failure is the import from googleapiclient.discovery import build in quickstart.py, so the question is whether the package was installed into the same interpreter that runs the script. Compare the pip command in the quickstart guide with the python the user ran, and check the sample's README for the install steps. The issue does not say what change is wanted, so confirm with a maintainer whether it is a docs fix or a support question before writing anything.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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)
- 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
- Langage dominant
- Python
- Étoiles
- 1.4k
- Forks
- 917
- Merge moyen
- 3 min
- PR mergées (30 j)
- 1
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de googleworkspace/python-samples
-
ايقاف البحث الأمنPeut-être à nouveau libre @sqrrrl l’a pris il y a 400 jours, et aucune pull request n’est ouverte. Ouverte
googleworkspace/python-samples#2434 · 1 personne assignée ·
-
Slow Uploads using Google Drive API with PythonPeut-être à nouveau libre @sqrrrl l’a pris il y a 740 jours, et aucune pull request n’est ouverte. Ouverte
googleworkspace/python-samples#1852 · 1 commentaire · 1 personne assignée ·
-
403 error from google after a few successful runs of my codePeut-être à nouveau libre @vinay-google l’a pris il y a 912 jours, et aucune pull request n’est ouverte. Ouverte
googleworkspace/python-samples#1424 · 1 personne assignée ·
-
How to see the progress of files which is getting uploadedPeut-être à nouveau libre @vinay-google l’a pris il y a 928 jours, et aucune pull request n’est ouverte. Ouverte
googleworkspace/python-samples#1404 · 1 personne assignée ·
-
Phyton SamplesPeut-être à nouveau libre @PierrickVoulet l’a pris il y a 975 jours, et aucune pull request n’est ouverte. Ouverte
googleworkspace/python-samples#1279 · 1 personne assignée ·
Toutes les issues de googleworkspace/python-samples
Issues similaires
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 77/100
canonical/paas-charm#407 · 1 commentaire ·
Les mainteneurs répondent en général sous 5 jours
-
bug
Difficulté 1/5 Moins d'une heure Accessibilité débutants 90/100
FAIRmat-NFDI/pynxtools-spm#136 ·
Les mainteneurs répondent en général sous 1 jour
-
enhancement tooling
Difficulté 2/5 1-3 heures Accessibilité débutants 84/100
Les mainteneurs répondent en général sous 1 jour
-
`read_nexus` entry point points to a function that no longer existsPeut-être pris @RubelMozumder l’a pris aujourd’hui. Ouverteannotator bug
Difficulté 1/5 Moins d'une heure Accessibilité débutants 88/100
FAIRmat-NFDI/pynxtools#876 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
[Bug]: HTTP 499 (Client Closed Request) is classified as a non-retryable format_error, so a mid-flight abort fails the turn over instead of retryingPeut-être pris @yipinghuang1991 l’a pris aujourd’hui. Ouvertecomp/agent P2 type/bug
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
NousResearch/hermes-agent#156837 ·
Les mainteneurs répondent en général sous 1 jour