[Error] Module installed in Virtualenv
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 25/100
Hướng nghiên cứu
Bắt đầu bằng cách so sánh trình thông dịch Python được dùng để cài đặt googleads với trình thông dịch đang chạy script, sau đó kiểm tra logger googleads.common xung quanh lệnh gọi AdWordsClient.LoadFromStorage. Các ảnh chụp màn hình được liên kết và toàn bộ mã có thể cung cấp thêm ngữ cảnh. Công việc được xem là hoàn tất khi xác định được cảnh báo có phải là điều được mong đợi hay không và ghi lại một cách khắc phục có thể tái hiện cho việc thiết lập virtualenv/base-environment.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- Python
- Star
- 749
- Fork
- 967
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của googleads/googleads-python-lib
-
[Bug] Potential Billion Laughs Attack Vector via Unrestricted XML Parsing in `ZeepSchemaHelper` Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
-
Create Native Creative - Issue Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
-
image-package Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 10/100
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 1/100
Tất cả issue của googleads/googleads-python-lib
Issue tương tự
-
essnmx good first issue
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 95/100
-
[Feature] 奇物选择添加优先级 Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
syfoud/Simulated_Scepter#174 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Giskard-AI/giskard-oss#2840 · 1 bình luận ·
-
A claim comment carrying the issue number is silently declined while the workflow reports success Đang mởarea: repo bug perceived difficulty: 2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
yeti-platform/yeti#1380 ·