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.