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)

 

其他的就不举例了


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM