If you want to use multiprocessing as a frozen executable, you need to call multiprocessing.freeze_support()
at the beginning of your main script. This will allow multiprocessing to “take over” when it spawns its worker processes.
See also https://github.com/pyinstaller/pyinstaller/wiki/Recipe-Multiprocessing