79730646

Date: 2025-08-09 13:18:45
Score: 1
Natty:
Report link

It looks like the base path is not set correctly. You can try below

import os
import sys

sys.path.append(os.path.abspath("."))

sys.path.append("../")

# Then try to import the src modules
from src.logger import Logging

Here we are setting up the path manually but it should works.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Abhishek kumar