Skip to content

ModuleNotFoundError: No module named 'django_celery_beat' #645

@sdhushu

Description

@sdhushu

Summary:

Include a brief description of the problem here, and fill out the version info below.

  • Celery Version: 5.2.7
  • Celery-Beat Version: 2.5.0

Exact steps to reproduce the issue:

  1. Celery配置

CELERY_BROKER_URL = 'sqla+sqlite:///celerydb.sqlite3'
CELERY_RESULT_BACKEND = 'db+sqlite:///results.sqlite3'
CELERY_TIMEZONE = 'Asia/Shanghai'

Celery Beat配置

CELERY_BEAT_SCHEDULER = 'django-celery-beat.schedulers.DatabaseScheduler'
2. 将 'django_celery_beat',
'django_celery_results',添加到INSTALLED_APPS中
3. 启动django项目出现

Detailed information

image
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions