I have created a project like the below one:
project | | --package1 | | | -- __init__py | --module1.py | | --package2 | --__init
By default, python only searches current directory. So you'll need to append the path a bit.
In module 2:
import sys sys.path.append('C:\PathTo\project\package1') import module1
That should fix the issue you were having.