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
Celery does not pin its requirements for kombu and billiard to specific versions. They require the following:
billiard>=3.5.0.2,<3.6.0
kombu>=4.0.2,<5.0
https://github.com/celery/celery/blob/v4.1.0/requirements/default.txt
kombu 4.2.0 was released with a breaking change and previous versions of celery automatically install it.
Since Celery doesn't pin specific versions, you should pin to the following if you will continue to use celery 4.1.0:
kombu==4.1.0
billiard==3.5.0.2