Skip to content Skip to sidebar Skip to footer

Importerror: No Module Named Timeutils

I'm trying to follow the install tutorial for Django-celery. After installing, I need to run migrate to make the necessary tables, but this error appears: Traceback (most recent c

Solution 1:

It appears that django-celery==3.1.17 does not work with newer versions of celery (see this github issue).

If it is acceptable to you to use an earlier version of celery, you can uninstall your current version, install a specific older version, and django-celery should work again. For example:

$ pip uninstall celery
$ pip install celery==3.1

should get things working again until django-celery supports a newer version of celery.

Solution 2:

For Django==1.9.8

$ pip install django-celery==3.1.17$ pip uninstall celery
$ pip install celery==3.1.25

Solution 3:

a bit late, but this helped me, pip3 did the trick for me, I needed the latest version of django-celery for my project so I put this in my requirements.txt file (at the time of writing this the latest version was django-celery==3.3.1)

celery==
croniter==
django-celery==3.3.1django-celery-beat==
kombu==

and then run the command

pip3 install -r requirements.txt

which automatically checked for the dependency of the various packages and installed all other packages, I then run pip freeze and got

celery==3.1.26.post2
croniter==1.0.15django-celery==3.3.1django-celery-beat==2.0.0kombu==3.0.37

Solution 4:

you can try

pip install --no-deps--ignore-installed django-celery

Worked for me

Post a Comment for "Importerror: No Module Named Timeutils"