I guess my question is a duplicate, but, unfortunately, I haven't found a solution that corresponds to my problem.
I have following project structure:
↓ project_root
↓ source_root
__init__.py
↓ inner_package
some_executable_file.py
some_library_file.py
So I would like to import a name from 'some_library_file' in the following way:
from source_root.inner_package.some_library_file import X
But when I do something like this, I see the following error:
ModuleNotFoundError: No module named 'source_root'