Django-celery-beat: No module named 'celery.utils.time'

Created on 22 Apr 2020  路  1Comment  路  Source: celery/django-celery-beat

Summary:

No module named 'celery.utils.time'

  • Celery Version: 3.3.1
  • Celery-Beat Version: 2.0.0

Exact steps to reproduce the issue:

  1. create virtualenv , pip install following packages
django==3.0.5
six==1.13.0
celery==3.1.25
django-celery>=3.3.1
django-celery-beat==2.0.0
  1. start django with manage command

Detailed information

 File "/home/maeth/.pyenv/versions/galactus/lib/python3.6/site-packages/django_celery_beat/clockedschedule.py", line 4, in <module>
    from celery.utils.time import maybe_make_aware
ModuleNotFoundError: No module named 'celery.utils.time'

Most helpful comment

Have you tried uninstalling django-celery and upgrading celery to 4.x? That worked for me when encountering a similar error today.

>All comments

Have you tried uninstalling django-celery and upgrading celery to 4.x? That worked for me when encountering a similar error today.

Was this page helpful?
0 / 5 - 0 ratings