Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[Error] Module installed in Virtualenv

オープン
#296 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
python
領域
api, backend

調査の方向性

まず、googleads のインストールに使用された Python インタープリターと、スクリプトを実行しているインタープリターを比較し、その後、AdWordsClient.LoadFromStorage の呼び出し付近にある googleads.common ロガーを調査します。リンクされたスクリーンショットと完全なコードが、追加のコンテキストを提供する可能性があります。警告が想定されたものかどうかを特定し、virtualenv/base-environment のセットアップに対する再現可能な修正方法を文書化できれば完了です。

索引モデルが issue の本文から書いたものです。

説明

P2

Hi, I have the below warning when I execute my script:

'No handlers could be found for logger "googleads.common"

Screen Grab of this: https://photos.app.goo.gl/PPxhYbYiM3r3JmRMA
I had installed the googleads library in a virtual environment; however, my code is in the base environment. The yaml file is also in the base environment and this warning comes up when I call this:

adwords_client = adwords.AdWordsClient.LoadFromStorage('\the\correct\path\adwords-api.yml')

Full code is available here: https://photos.app.goo.gl/iDZu2aupgyK8CXUh7

I have tried the following:

  • using the shebang of both my base python and virtualenv python.
  • if the libraries are installed on the base path then there is no such warning (tried this in both Windows and Linux os; however, not on the machine where this error is coming up).
  • I think this is just a warning since I could see data being uploaded into the AdWords userlist.

Could you guide me on how to fix this, please? I'm not an expert with Python, so if you could break it down, it would help me a lot.

Thanks,
Enoch

主要言語
Python
スター
749
フォーク
967
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

googleads/googleads-python-lib のほかの issue

googleads/googleads-python-lib の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。