ns2250225

Django2.0 集成 Celery4.1 详解

  •  
  •   ns2250225 · Mar 1, 2018 · 3164 views
    This topic created in 3180 days ago, the information mentioned may be changed or developed.
    6 replies  •  2018-06-20 12:10:11 +08:00
    julyclyde
    julyclyde
    Mar 2, 2018
    1
    自从 https://github.com/celery/django-celery 合并到 celery 里面之后,django 集成 celery 的文章已经没啥可写的了
    ns2250225
    ns2250225
    OP
    Mar 2, 2018
    2
    @julyclyde celery4.1 的官方文档说,已经不需要引入依赖 django-celery 这个库了,直接用 celery 本身就好
    julyclyde
    julyclyde
    Mar 2, 2018
    3
    @ns2250225 是啊,所以你这文章的要点在哪儿呢?
    ns2250225
    ns2250225
    OP
    Mar 2, 2018
    4
    @julyclyde ....你可以当成是官方文档的翻译也好,总结也行
    zuoakang
    zuoakang
    Jun 20, 2018
    5
    楼主还在吗?按照你的这个博客搭建,一直报错的呀。
    环境如下:
    - python 3.6
    - win10 64bit
    - django 2.0
    - celery 4.1.0
    - eventlet 0.23.0
    注:没有安装 erlang 和 rabbitMQ-server

    一直报如下错误:
    from kombu.async import timer as _timer # noqa
    ModuleNotFoundError: No module named 'kombu.async'
    zuoakang
    zuoakang
    Jun 20, 2018
    6
    问题已解决。方法如下: https://github.com/celery/kombu/issues/873
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1687 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 00:45 · PVG 08:45 · LAX 16:45 · JFK 19:45
    ♥ Do have faith in what you're doing.