79196758

Date: 2024-11-17 08:24:00
Score: 0.5
Natty:
Report link

I ran into the same problem and found that someone had accidentally added a folder named logging in the main directory. When Python tries to import logging, it looks at that folder first, and since it’s empty, the import fails. Check your project structure to see if there’s a logging folder in the main directory. If there is, rename or remove it, and that should fix the issue.

Reasons:
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Muema