python - ImportError: No module named timeutils -
i trying follow tutorial install of django-celery. after install need run migrate make necessary tables appears error:
traceback (most recent call last): file "manage.py", line 10, in <module> execute_from_command_line(sys.argv) file "/home/guilherme/.virtualenvs/martizi-api/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 353, in execute_from_command_line utility.execute() file "/home/guilherme/.virtualenvs/martizi-api/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 327, in execute django.setup() file "/home/guilherme/.virtualenvs/martizi-api/local/lib/python2.7/site-packages/django/__init__.py", line 18, in setup apps.populate(settings.installed_apps) file "/home/guilherme/.virtualenvs/martizi-api/local/lib/python2.7/site-packages/django/apps/registry.py", line 108, in populate app_config.import_models(all_models) file "/home/guilherme/.virtualenvs/martizi-api/local/lib/python2.7/site-packages/django/apps/config.py", line 202, in import_models self.models_module = import_module(models_module_name) file "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module __import__(name) file "/home/guilherme/.virtualenvs/martizi-api/local/lib/python2.7/site-packages/djcelery/models.py", line 15, in <module> celery.utils.timeutils import timedelta_seconds importerror: no module named timeutils im not finding timeutils on web
im using:
django==1.9.8 django-celery==3.1.17
thanks!
it appears django-celery==3.1.17 not work newer versions of celery (see this github issue).
if acceptable use earlier version of celery, can uninstall current version, install specific older version, , django-celery should work again. example:
$ pip uninstall celery $ pip install celery==3.1 should things working again until django-celery supports newer version of celery.
Comments
Post a Comment