Нотатка: concurrent.futures.ProcessPoolExecutor pyinstaller та python. freeze_support()
Знайшов проблему використання concurrent.futures.ProcessPoolExecutor з pyinstaller.
Програма випадала у такі помилки.

concurrent.futures.ProcessPoolExecutor з pyinstaller
Допомогло використання:
from multiprocessing import freeze_support
def main()
freeze_support()
...