You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/12/10 02:22:17 UTC

[GitHub] [airflow] super017 commented on issue #11301: Celery 5.0

super017 commented on issue #11301:
URL: https://github.com/apache/airflow/issues/11301#issuecomment-742192050


   > 芹菜`5.0.2 (singularity)`在气流方面对我也不起作用`1.10.9`。
   > 
   > ```shell
   > 尾-f /var/log/airflow/airflow-worker-stderr---supervisor-josn515o.log 
   >      return f(* args,** kwargs)
   >   File “ /usr/local/lib/python3.6/site-packages/ airflow / bin / cli.py “,第1395行,在worker中
   >     worker = worker.worker(app = celery_app)
   >   文件” /usr/local/lib/python3.6/site-packages/click/core.py “,第829行,在__call__中
   >     返回self.main(* args,** kwargs)
   >   文件“ /usr/local/lib/python3.6/site-packages/click/core.py ”,线781,在主
   >     用self.make_context(PROG_NAME,ARGS,**另计)为CTX:
   >   文件“ /usr/local/lib/python3.6/site-packages/click/core.py ”,线路698,在make_context 
   >     ctx = Context(自己,info_name = info_name,parent = parent,**额外)
   > TypeError:__ init __()获得了意外的关键字参数' app '
   > ```
   > 
   > 降级为`4.4.7`。
   > 
   > ```shell
   > apache-airflow == 1.10.9
   > 芹菜== 4.4.7
   > 芹菜[rabbitmq] == 4.4.7
   > ```
   Two days ago when I was in the configuration airflow also appears this question,and my solution is 
   `pip install apache-airflow
   pip install apache-airflow[mysql]
   pip install apache-airflow[celery] `
   
   accorfing to dependency,the version of celery is 4.4.7


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org