Question about DensityDist, again

Hi,
I could find a way for my code to work. Setting the number of cores to 1 cores=1 seems to solve the problem. I don’t know why but I found that most of my models fail if I don’t set the number of cores to 1. Anyone got an idea on the reason why I have such a behaviour? I am on windows and I run my code in PyCharm.