Do I need PYTHONPATH
问题 There are many of similar questions about PYTHONPATH and imports but I didn't find exactly what I needed. I have a git repository that contains a few python helper scripts. The scripts are naturally organized in a few packages. Something like: scripts/main.py scripts/other_main.py scripts/__init__.py a/foo.py a/bar.py a/__init__py b/foo.py b/bar.py b/__init__.py __init__.py scripts depends on a and b . I'm using absolute import in all modules. I run python3 scripts/main.py . Everything works