SyntaxFix
Write A Post
Hire A Developer
Questions
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.