【问题标题】:Airflow installation error:"python setup.py egg_info" failed with error code 1"气流安装错误:"python setup.py egg_info" failed with error code 1"
【发布时间】:2019-10-03 17:05:41
【问题描述】:

我正在尝试在 Mac OS 中安装气流。 我安装了 python 3.7.3。 我做了以下 pip install apache-airflow==1.9.0

Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/var/folders/rh/4jxb065x3dl3vf1hr084qz100000gn/T/pip-install-oeuegs9g/apache-airflow/setup.py", line 102
        async = [
              ^
    SyntaxError: invalid syntax

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/rh/4jxb065x3dl3vf1hr084qz100000gn/T/pip-install-oeuegs9g/apache-airflow/

【问题讨论】:

    标签: python airflow


    【解决方案1】:

    要克服错误,只需使用较新的 AirFlow 版本(建议使用最新版本),从 v1.10.4 开始(这是与 Python 3.7 兼容的第一个st)。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-01-28
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-01-20
      • 2019-10-31
      相关资源
      最近更新 更多