6
我已經在我的系統上安裝了celeryD和redis。當我運行命令使用celery
。 IAM得到以下錯誤。獲取錯誤distributionNotFound
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
可能是什麼原因?
感謝名單不錯ANS .... –
你的解決方案是正確的。出於某種原因,我有Python的dateutil 2.2版本..我降級到1.5,使其工作。 – wildmonkey
謝謝!實際上現在它在我的情況下是'2.2' :)'pip install --ignore-installed python-dateutil == 2.2' –