It seems there are already quite some questions here about relative import in python 3, but after going through many of them I still didn\'t find the answer for my issue. s
import sys sys.path.append("..") # Adds higher directory to python modules path.
Try this. Worked for me.