Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
bpo-32146: multiprocessing freeze_support needed outside win32 #5195
I linked to this dissection of the problem in the issue; it is a good overview of what goes wrong currently. In a nutshell, the
When using argparse, the error is clear:
On Windows this problem is avoided because
This fixes the problem for me on both PyInstaller and cx_Freeze on Unix.
I couldn't find that there were any tests for the existing
I will add a few more comments in-line. I'm a new-ish contributor, so if discussion of the approach to fixing this issue should take place elsewhere (in the bug tracker or on a mailing list), please let me know (gently). Many thanks!