windows10 +celery踩坑之module ‘os‘ has no attribute ‘register_at_fork‘
报错:AttributeError: module 'os' has no attribute 'register_at_fork'
python=3.8
celery==4.4.7
看了很多教程要install eventlet
执行
Celery -A myproject worker -l info -P eventlet
安装之后执行还是报错
解决方法:
pip install enventlet==0.26.0 不指定是0.27.0
...
原创
2020-09-15 16:16:15 ·
1182 阅读 ·
1 评论