问题:
Traceback (most recent call last):
File “/home/yangrc/.virtualenvs/py3_django_11/bin/celery”, line 5, in
解决:
pip install celery
pip install celery-with-redis
pip install django-celery
又出现问题:
Traceback (most recent call last):
File “/home/yangrc/.virtualenvs/py3_django_11/bin/celery”, line 8, in
解决:
pip uninstall kombu && pip install kombu
再出现问题:
ERROR: pip’s dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
celery 3.1.26.post2 requires kombu
解决:
pip –default-timeout=100 install kombu==3.0.37 -i http://pypi.douban.com/simple/ –trusted-host pypi.douban.com
最后还是不行,没办法最后只能死马当活马医了
pip –default-timeout=100 install –upgrade celery -i http://pypi.douban.com/simple/ –trusted-host pypi.douban.com
竟然可以了。。。。
Original: https://blog.csdn.net/lyhyrc/article/details/122969267
Author: lyhyrc
Title: python –配置celery遇见的问题
原创文章受到原创版权保护。转载请注明出处:https://www.johngo689.com/733266/
转载文章受原作者版权保护。转载请注明原作者出处!