小编jho*_*946的帖子

在Windows 10中使用celery执行flower时出错

我正在 Windows 10 中使用 Django 3 开发一个应用程序。

我已经安装了celery、RabitMQ 和flower。芹菜效果很好,但是当我跑步时

celery -A proj flower

产生以下错误

[I 200718 21:32:31 command:134] Visit me at http://localhost:5555
[I 200718 21:32:31 command:141] Broker: amqp://guest:**@localhost:5672//
[I 200718 21:32:31 command:142] Registered tasks:
    ['apps.tareas.task.send_emails_users',
     'celery.accumulate',
     'celery.backend_cleanup',
     'celery.chain',
     'celery.chord',
     'celery.chord_unlock',
     'celery.chunks',
     'celery.group',
     'celery.map',
     'celery.starmap']
Traceback (most recent call last):
  File "C:\Program Files\Python38\lib\runpy.py", line 193, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Program Files\Python38\lib\runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "C:\Users\Sofia\OneDrive\Proyectos\Django 3\shop\env\Scripts\celery.exe\__main__.py", line 9, in <module>
  File "c:\users\sofia\onedrive\proyectos\django 3\shop\env\lib\site-packages\celery\__main__.py", line …
Run Code Online (Sandbox Code Playgroud)

celery flower

0
推荐指数
1
解决办法
748
查看次数

标签 统计

celery ×1

flower ×1