If you have a submodule under tasks that has the same name as a top-level module, the import will fail. For example, I have a module named common which is located in my site-packages. My tasks directory looks like: ``` /project /tasks __init__.py common.py ``` The issue is pretty simple, https://github.com/pyinvoke/invoke/blob/main/invoke/loader.py#L77 `import common` now comes from `/project/tasks` instead of my site-packages.