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
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.
pip3 install -U Flask==1.0.4
“pip3 install werkzeug==0.15.4” solved my problem. Seems that flask referenced the wrong version of werkzeug.