Python - celery 相关报错 - AttributeError: type object '_multiprocessing.win32' has no attribute

Posted 坨之歌

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Python - celery 相关报错 - AttributeError: type object '_multiprocessing.win32' has no attribute相关的知识,希望对你有一定的参考价值。

报错场景

执行   celery worker -A tasks -l INFO  打开 worker 的时候报错无法进行

报错解决

Celery 的版本过高, 进行降级处理即可

pip install celery==3.1.25

降级后再次执行会触发 另一报错

 此报错原因是 redis 的版本过高导致

对 redis 进行降级即可  pip install redis==2.10.6 

 

以上是关于Python - celery 相关报错 - AttributeError: type object '_multiprocessing.win32' has no attribute的主要内容,如果未能解决你的问题,请参考以下文章