【发布时间】:2019-02-11 16:19:17
【问题描述】:
运行pip install airflow[postgres] 命令后出现以下错误:
> raise RuntimeError("By default one of Airflow's dependencies installs
> a GPL "
>
> RuntimeError: By default one of Airflow's dependencies installs a GPL
> dependency (unidecode). To avoid this dependency set
> SLUGIFY_USES_TEXT_UNIDECODE=yes in your environment when you install
> or upgrade Airflow. To force installing the GPL version set
> AIRFLOW_GPL_UNIDECODE
我正在尝试在 Debian 9 中安装
【问题讨论】:
-
那么,您在安装前是否按照消息中的说明设置了
SLUGIFY_USES_TEXT_UNIDECODE或AIRFLOW_GPL_UNIDECODE? -
是的,我试过了。我已经导出了那些环境变量。
-
两者?你应该决定一个并设置它。
标签: airflow