ValueError: not enough values to unpack celery异步 异常解决

先安装一个扩展 eventlet

pip install eventlet -i https://pypi.douban.com/simple 

**然后启动worder添加一个参数 -P eventlet
**

celery -A celery_task.main worker -l INFO -P eventlet

如果报错是UserWarning: Using settings.DEBUG leads to a memory leak, never use this setting in production environments! 
则在settings设置 DEBUG="False"
上一篇:mezWindows的个人中心luogu(old)


下一篇:抛开编程纯吐槽