为什么我得到:"celeryctl: command not found",我必须安装 celeryctl 吗?

Why do I get: "celeryctl: command not found", do I have to install celeryctl?

当我运行 celeryctl help 我得到:

-bash: celeryctl: command not found

我必须安装它吗?我确实安装了 celery。 文档没有说明有关安装它的任何内容。试过 pip install celeryctl,没有运气。

我想以前叫celeryctl现在只叫celery了。当我 pip install celery 和 运行 celery --version 我看到 5.0.5。所有引用 celeryctl 的在线文档都适用于更旧版本的 celery (2.x.x)。

celeryctl 与之交互的守护程序 celeryd 似乎从未重命名。我认为应该有一个 celeryd 可执行文件和一个 celery 可执行文件,这些都是你现在应该拥有的。

OP 补充说:“我发现您可以通过在 CLI 中键入 celery -A proj [celeryctl command] 来获得与 celeryctl 相同的功能:celery -A proj [celeryctl command]”。