[issue21505] cx_freeze multiprocessing bug
Torsten Landschoff
report at bugs.python.org
Mon May 26 23:28:06 CEST 2014
Torsten Landschoff added the comment:
That sounds like you did not initialize the freeze support of the multiprocessing module:
https://docs.python.org/3/library/multiprocessing.html#multiprocessing.freeze_support
Basically, you need to add the following code to your main, before anything else:
from multiprocessing import freeze_support
freeze_support()
Interestingly, the documentation states that starting a new Process instance without freeze_support will raise a RuntimeError. Maybe the detection of that situation failed in your case?
----------
nosy: +torsten
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21505>
_______________________________________
More information about the Python-bugs-list
mailing list