I have RabbitMQ and Celery running locally on my Mac (OS/X 10.13.4), the following code works locally when I run add.delay(x,y):
#!/usr/bin/env python from celer
A quick hack fix is to disable the result backend:
# CELERY_RESULT_BACKEND = 'redis://redis'