googleads / googleads/googleads-python-lib
[Error] Module installed in Virtualenv
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 749
- フォーク
- 967
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
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
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、googleads のインストールに使用された Python インタープリターと、スクリプトを実行しているインタープリターを比較し、その後、AdWordsClient.LoadFromStorage の呼び出し付近にある googleads.common ロガーを調査します。リンクされたスクリーンショットと完全なコードが、追加のコンテキストを提供する可能性があります。警告が想定されたものかどうかを特定し、virtualenv/base-environment のセットアップに対する再現可能な修正方法を文書化できれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- api, backend
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100