Getting the following error after running pip install airflow[postgres] command:
pip install airflow[postgres]
> raise RuntimeError("By default one of Airflow\'s dependenc
In case you are installing the airflow on Windows and through Python terminal then you need to write this:
Set SLUGIFY_USES_TEXT_UNIDECODE=yes pip install apache-airflow[postgres]
Set SLUGIFY_USES_TEXT_UNIDECODE=yes
pip install apache-airflow[postgres]
It worked with me after I struggled with trying many other options. Hope this will work with you too.