tasks, accept, hostname = _loc ValueError: not enough values to unpack (expected 3, got 0)

tasks, accept, hostname = _loc ValueError: not enough values to unpack (expected 3, got 0)

解决:
方法1:卸载最新的celery ,安装3.1.24左右的版本
方法2:

#导入
pip install eventlet
#启动
celery -A celery_tasks.main worker -l info -P eventlet

你可能感兴趣的:(其他,python,开发语言,后端)