import os import sys from pathlib import Path # Fix issue with relative imports: path = Path(os.path.dirname(os.path.realpath(__file__))).parent.absolute() sys.path.append(str(path))