In Python (2.7) I try to create processes (with multiprocessing) in a celery task (celery 3.1.17) but it gives the error:
daemonic processes are not allowed to h
If you are using a submodule/library with multiprocessing already baked in, it may make more sense to set the -P threads argument of the worker:
-P threads
celery worker -P threads
https://github.com/celery/celery/issues/4525#issuecomment-566503932