Skip to content Skip to sidebar Skip to footer

Not Able To Setup Airflow, Getting Error While "initiating Airflow Database"

Not able to setup airflow, getting error while 'Initiating Airflow Database' . I am getting the below error: File '/Library/Frameworks/Python.framework/Versions/3.8/bin/airflow',

Solution 1:

This is a bug in cattrs with Python 3.8, open issue: https://github.com/Tinche/cattrs/issues/46

I would suggest using Python 3.7

Solution 2:

I have re-created the issue using python 3.8 and looks like there is already patch code ready to released in newer version of airflow.

Meanwhile i would recommend downgrading your python version to 3.7.x and re-running the airflow initdb command.

(I have successfully installed airflow in my sandbox using python 3.7.7)

Post a Comment for "Not Able To Setup Airflow, Getting Error While "initiating Airflow Database""