Can't start Celery worker on Windows 10 with “PicklingError”
问题 I have a simple test code that runs successfully on Linux, but it won't run on my windows 10 x64 computer. When I tried to start a celery worker, it complained about the unrecoverable error: PicklingError. (Celery version: 3.1.20) In my celery config, I've set the serialization to 'json', but it still didn't help at all. CELERY_RESULT_SERIALIZER = 'json' CELERY_TASK_SERIALIZER = 'json' CELERY_ACCEPT_CONTENT = ['json'] Here is the full error message: [2016-02-09 15:11:48,532: ERROR/MainProcess