I added a repo as a submodule to my project, but the import statements inside that repo are not resolving when I compile my project
To add the submodules, I used the command
git submodule add <git-clone-link>
I created a folder in my project called lib
and added the submodule under that folder.
However, within the submodule, there are files that import from other files in the submodule. For example lets say the submodule had python packages P1 and P2. P1 has File_A and P2 has File_B.
For File_B to import File_A, the import statement looks like
from P1 import File_A
. This import statement should still work because both files are under the submodule.
Any thoughts on why this is not working?