Use relative imports. This approach works both with python 2 and python 3