Imagine this directory structure:
app/ __init__.py sub1/ __init__.py mod1.py sub2/ __init__.py mod2.py
I\'
You have to append the module’s path to PYTHONPATH:
PYTHONPATH
export PYTHONPATH="${PYTHONPATH}:/path/to/your/module/"