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)

其他的就不举例了

猜你喜欢

转载自www.cnblogs.com/QuestionsZhang/p/11709073.html