I\'m totally new to Python and I know this question was asked many times, but unfortunately it seems that my situation is a bit different... I have created a package (or so
My solution is put those imports in __init__.py of lib:
__init__.py
in file: __init__.py import mod1
Then,
import lib lib.mod1
would work fine.