After updating celery and django-celery to 3.1:
$ pip freeze | grep celery celery==3.1.18 django-celery==3.1.16
I run into this error when starting my server:
Traceback (most recent call last): File "app/manage.py", line 16, in <module> execute_from_command_line(sys.argv) [...] File "/Users/xxx/.virtualenvs/yyy/lib/python2.7/site-packages/django/conf/__init__.py", line 42, in _setup self._wrapped = Settings(settings_module) File "/Users/xxx/.virtualenvs/yyy/lib/python2.7/site-packages/django/conf/__init__.py", line 95, in __init__ raise ImportError("Could not import settings '%s' (Is it on sys.path?): %s" % (self.SETTINGS_MODULE, e)) ImportError: Could not import settings 'settings' (Is it on sys.path?): No module named five
Using:
- Django 1.4.21
- Python 2.7
Advertisement
Answer
Last version of vine is 5.0.0 and fresh push was in 06.09.2020 (yesterday) :), and this version do not have any five.py
file. So downgrade vine version to.
vine==1.3.0
works for me
UPDATE: by the answer Sarang, amqp and celery now requires vine>=5.0.0