gpt4 book ai didi

由于 kombu 中的更新导致 Airflow 工作器中断 - 异步错误

转载 作者:行者123 更新时间:2023-12-02 00:34:10 27 4
gpt4 key购买 nike

基于 puckel 的 Airflow v1.9.0 docker 部署因为这个错误而让我崩溃:

Traceback (most recent call last):
File "/usr/local/bin/airflow", line 27, in <module>
args.func(args)
File "/usr/local/lib/python2.7/dist-packages/airflow/bin/cli.py", line 891, in worker
worker.run(**options)
File "/usr/local/lib/python2.7/dist-packages/celery/bin/worker.py", line 255, in run
**kwargs)
File "/usr/local/lib/python2.7/dist-packages/celery/worker/worker.py", line 99, in __init__
self.setup_instance(**self.prepare_args(**kwargs))
File "/usr/local/lib/python2.7/dist-packages/celery/worker/worker.py", line 122, in setup_instance
self.should_use_eventloop() if use_eventloop is None
File "/usr/local/lib/python2.7/dist-packages/celery/worker/worker.py", line 241, in should_use_eventloop
self._conninfo.transport.implements.async and
File "/usr/local/lib/python2.7/dist-packages/kombu/transport/base.py", line 125, in __getattr__
raise AttributeError(key)
AttributeError: async

最佳答案

Cobman 解决方案有效,仅供引用,您也可以升级 Celery 版本(正如他们在其存储库中推荐的那样)

&& pip install celery[redis]==4.1.1

关于由于 kombu 中的更新导致 Airflow 工作器中断 - 异步错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50460254/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com