1.celery4不再支持windows,所以在Windows環境下使用請選擇celery==3.1.18
另外不用使用python3.7版本,有報錯不支持
參見:https://blog.csdn.net/cn_1937/article/details/91992075 別人的錯誤
2.
ImportError: cannot import name python_2_unicode_compatible
代替
from django.utils.six import python_2_unicode_compatible
3.
from celery.utils.time import maybe_make_aware
ImportError: No module named 'celery.utils.time'
出現這個問題原因是因為,你提前在setting。py文件中導入了
'django_celery_beat', 將其注釋掉就可以了