Linked Questions

Popular Questions

I have the following directory structure in my python project

enter image description here

When I try to execute the file I get an Module not found error

ModuleNotFoundError: No module named 'lib'

But if I move the file to the main directory it will work without any errors

enter image description here

The following is how I have imported the module in file

from lib.utils import say_hello


Related Questions