Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No module named 'celery.utils.time' #334

Open
dezmaeth opened this issue Apr 22, 2020 · 1 comment
Open

No module named 'celery.utils.time' #334

dezmaeth opened this issue Apr 22, 2020 · 1 comment

Comments

@dezmaeth
Copy link

@dezmaeth dezmaeth commented Apr 22, 2020

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'
@triopter
Copy link

@triopter triopter commented Apr 25, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.