ModuleNotFoundError: No module named 'googleapiclient'
還沒有人認領這個 Issue。
評估
研究方向
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.
由索引模型根據 Issue 內容生成。
描述
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
- 主要語言
- Python
- 星號
- 1.4k
- 分支
- 917
- 平均合併
- 3 分鐘
- 30 天內合併 PR
- 1
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
googleworkspace/python-samples 的其他 Issue
-
ايقاف البحث الأمن可能重新可做 @sqrrrl 於 400 天前認領,目前沒有進行中的 PR。 未關閉
googleworkspace/python-samples#2434 · 已指派 1 人 ·
-
Slow Uploads using Google Drive API with Python可能重新可做 @sqrrrl 於 740 天前認領,目前沒有進行中的 PR。 未關閉
googleworkspace/python-samples#1852 · 1 則留言 · 已指派 1 人 ·
-
403 error from google after a few successful runs of my code可能重新可做 @vinay-google 於 912 天前認領,目前沒有進行中的 PR。 未關閉
googleworkspace/python-samples#1424 · 已指派 1 人 ·
-
How to see the progress of files which is getting uploaded可能重新可做 @vinay-google 於 928 天前認領,目前沒有進行中的 PR。 未關閉
googleworkspace/python-samples#1404 · 已指派 1 人 ·
-
Phyton Samples可能重新可做 @PierrickVoulet 於 975 天前認領,目前沒有進行中的 PR。 未關閉
googleworkspace/python-samples#1279 · 已指派 1 人 ·
查看 googleworkspace/python-samples 的全部 Issue
相似的 Issue
-
bug
難度 2/5 1-3 小時 新手友好度 77/100
canonical/paas-charm#407 · 1 則留言 ·
維護者通常 5 天內回覆
-
bug
難度 1/5 1 小時以內 新手友好度 90/100
FAIRmat-NFDI/pynxtools-spm#136 ·
維護者通常 1 天內回覆
-
enhancement tooling
難度 2/5 1-3 小時 新手友好度 84/100
維護者通常 1 天內回覆
-
`read_nexus` entry point points to a function that no longer exists可能已有人在做 @RubelMozumder 今天認領。 未關閉annotator bug
難度 1/5 1 小時以內 新手友好度 88/100
FAIRmat-NFDI/pynxtools#876 · 1 則留言 ·
維護者通常 1 天內回覆
-
[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 retrying可能已有人在做 @yipinghuang1991 今天認領。 未關閉comp/agent P2 type/bug
難度 2/5 1-3 小時 新手友好度 82/100
NousResearch/hermes-agent#156837 ·
維護者通常 1 天內回覆