气流身份验证设置失败,并显示“ AttributeError:无法设置属性”。 [英] Airflow authentication setups fails with "AttributeError: can't set attribute"
本文介绍了气流身份验证设置失败,并显示“ AttributeError:无法设置属性”。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
docs 中所述的Airflow 1.8版密码认证设置在步骤失败p>
The Airflow version 1.8 password authentication setup as described in the docs fails at the step
user.password = 'set_the_password'
有错误
AttributeError: can't set attribute
推荐答案
这是由于SqlAlchemy更新到版本> = 1.2,从而引入了向后不兼容的更改。
This is due to an update of SqlAlchemy to a version >= 1.2 that introduced a backwards incompatible change.
您可以通过显式安装SqlAlchemy版本< 1.2来解决此问题。
You can fix this by explicitly installing a SqlAlchemy version <1.2.
pip install 'sqlalchemy<1.2'
或在require.txt
Or in a requirement.txt
sqlalchemy<1.2
这篇关于气流身份验证设置失败,并显示“ AttributeError:无法设置属性”。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文