Apache Airflow DAG cannot import local module December 28, 2023 by Tarik Adding the sys path again worked for me, import sys sys.path.insert(0,os.path.abspath(os.path.dirname(__file__)))