ImportError
まだ誰も着手していません。
評価
調査の方向性
The traceback points to the reporter's own calendar.py at line 5, which imports googleapiclient.discovery. That module imports Python's standard-library calendar module, so a local file with the same name shadows it. Check whether the sample's file name clashes with a stdlib module, then confirm that renaming the local file lets the quickstart import succeed. No repository change is clearly needed, and the thread has been inactive for years.
索引モデルが issue の本文から書いたものです。
説明
Expected Behavior
I'm not sure what the expected behavior should be because I couldn't get it to run the test code.
Actual Behavior
File "C:\Users\snydec4\Documents\Personal Programming Projects\Habitual Calendar\calendar.py", line 5, in
from googleapiclient.discovery import build
ImportError: cannot import name 'build' from partially initialized module 'googleapiclient.discovery' (most likely due to a circular import) (C:\Users\snydec4\AppData\Local\Programs\Python\Python38-32\lib\site-packages\googleapiclient\discovery.py)
Steps to Reproduce the Problem
- follow the instructions listed on
https://developers.google.com/calendar/quickstart/python#further_reading - run the test code
Specifications
- Python version (
python --version) -> python 3.8.1 - OS (Mac/Linux/Windows) -> windows
- 主要言語
- Python
- スター
- 1.4k
- フォーク
- 917
- 平均マージ
- 3分
- マージ済み PR(30日)
- 1
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
googleworkspace/python-samples のほかの issue
-
ايقاف البحث الأمن再び着手できるかも @sqrrrl が 400 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
googleworkspace/python-samples#2434 · 担当者 1 名 ·
-
Slow Uploads using Google Drive API with Python再び着手できるかも @sqrrrl が 740 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
googleworkspace/python-samples#1852 · コメント 1 件 · 担当者 1 名 ·
-
403 error from google after a few successful runs of my code再び着手できるかも @vinay-google が 912 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
googleworkspace/python-samples#1424 · 担当者 1 名 ·
-
How to see the progress of files which is getting uploaded再び着手できるかも @vinay-google が 928 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
googleworkspace/python-samples#1404 · 担当者 1 名 ·
-
Phyton Samples再び着手できるかも @PierrickVoulet が 975 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
googleworkspace/python-samples#1279 · 担当者 1 名 ·
googleworkspace/python-samples の issue をすべて見る
似ている issue
-
[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 日以内に返信
-
Bug: Missing continue on ValueError in CpanBackend.check_feed causes UnboundLocalError or duplicate yields対応中かも @muskan-creates352 が今日担当しました。 オープン
難易度 1/5 1〜3時間 初心者へのやさしさ 86/100
fedora-infra/anitya#2188 ·
メンテナーはふだん 1 日以内に返信
-
docs documentation need-triage SaaS
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
integration:hermes
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
vectorize-io/hindsight#6601 ·
メンテナーはふだん 1 日以内に返信
-
triage:product type:bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
dbt-labs/dbt-adapters#2333 ·
メンテナーはふだん 1 日以内に返信