[Error] Module installed in Virtualenv
まだ誰も着手していません。
評価
調査の方向性
まず、googleads のインストールに使用された Python インタープリターと、スクリプトを実行しているインタープリターを比較し、その後、AdWordsClient.LoadFromStorage の呼び出し付近にある googleads.common ロガーを調査します。リンクされたスクリーンショットと完全なコードが、追加のコンテキストを提供する可能性があります。警告が想定されたものかどうかを特定し、virtualenv/base-environment のセットアップに対する再現可能な修正方法を文書化できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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 はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
googleads/googleads-python-lib のほかの issue
-
[Bug] Potential Billion Laughs Attack Vector via Unrestricted XML Parsing in `ZeepSchemaHelper` オープン
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
-
image-package オープン
難易度 5/5 1週間以上 初心者へのやさしさ 10/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 1/100
googleads/googleads-python-lib の issue をすべて見る
似ている issue
-
essnmx good first issue
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
-
[Feature] 奇物选择添加优先级 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
syfoud/Simulated_Scepter#174 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Giskard-AI/giskard-oss#2840 · コメント 1 件 ·
-
A claim comment carrying the issue number is silently declined while the workflow reports success オープンarea: repo bug perceived difficulty: 2
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
yeti-platform/yeti#1380 ·