I have installed celeryD and redis on my system. when i am running the command using celery
. iam getting the following error.
Traceback (most recent call last):
File "/usr/local/bin/celeryd", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2711, in <module>
parse_requirements(__requires__), Environment()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 584, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: python-dateutil>=1.5,<2.0
what may be the possible reason??
There's a package called python-dateutil that isn't installed.
It should be available on the PYTHONPATH that's active when you call celeryd.
Python dateutil is installable from PyPi.
Assuming you have pip installed on your system, you can do so with this command:
$ pip install python-dateutil==1.5
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With