Airflow安装异常:ERROR: flask-appbuilder 1.12.3 has requirement Flask<2,>=0.12, but you'll have flask 0.11.1 which is incompatible.

1 详细异常:

ERROR: flask-appbuilder 1.12.3 has requirement Flask<2,>=0.12, but you'll have flask 0.11.1 which is incompatible.
ERROR: flask-appbuilder 1.12.3 has requirement Flask-Login<0.5,>=0.3, but you'll have flask-login 0.2.11 which is incompatible.
ERROR: flask-appbuilder 1.12.3 has requirement Flask-WTF<1,>=0.14.2, but you'll have flask-wtf 0.14 which is incompatible.

  

2 问题原因:

  自己pip安装的包依赖了其他版本的其他组件(Flask等),但是已经安装了不兼容的版本

 

3 解决办法,卸载版本不对的其他组件,然后单独制定兼容的版本号,重新安装

  pip uninstall Flask

  pip install Flask===1.9 (这个范围内的<2,>=0.12)

 

其他的就不举例了

posted @ 2019-10-20 20:35  Questions张  阅读(2941)  评论(0编辑  收藏  举报