I have this directory structure. The code inside utils.py is:
def hello():
print("hello")
The code inside run.py is:
from ..helper.utils import hello
hello()
Using this setting, I'm getting the error:
from ..helper.utils import hello
ImportError: attempted relative import with no known parent package
I know there exist a solution using sys.path.append(), however it'll be better if there exist a solution without using this.
