googleads / googleads/googleads-python-lib
[Error] Module installed in Virtualenv
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Python
- Sterne
- 749
- Forks
- 967
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne damit, den zum Installieren von googleads verwendeten Python-Interpreter mit dem Interpreter zu vergleichen, der das Skript ausführt, und untersuche anschließend den googleads.common-Logger rund um den Aufruf von AdWordsClient.LoadFromStorage. Die verknüpften Screenshots und der vollständige Code können zusätzlichen Kontext liefern. Als abgeschlossen gilt die Aufgabe, wenn festgestellt wurde, ob die Warnung erwartungsgemäß ist, und eine reproduzierbare Lösung für die Einrichtung von virtualenv/base-environment dokumentiert wurde.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python
- Bereich
- api, backend
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100