Apache Airflow : airflow initdb throws ModuleNotFoundError: No module named 'werkzeug.wrappers.json'; 'werkzeug.wrappers' is not a package error

前端 未结 2 849
独厮守ぢ
独厮守ぢ 2020-12-16 13:33

On Ubuntu 18.04 with python 3.6.8, trying to install airflow. When I ran airflow initdb command, below error is thrown

Traceback (most recent call last):
  F         


        
相关标签:
2条回答
  • 2020-12-16 13:45

    running pip3 install -U Flask==1.0.4 fixed the issue. I guess there is some issue with Flask 1.1.0 which is affecting airflow.

    0 讨论(0)
  • 2020-12-16 13:57

    “pip3 install werkzeug==0.15.4” solved my problem. Seems that flask referenced the wrong version of werkzeug.

    0 讨论(0)
提交回复
热议问题