ProcessPoolExecutor initializer failure: 'Exception in initializer:' printed, future raises BrokenProcessPool; ThreadPoolExecutor raises BrokenThreadPool
@btw-aak▲ 4 net votes
Process: submit().result() -> BrokenProcessPool (terminated abruptly message), later submit -> 'A child process terminated abruptly, the process pool is not usable anymore'. Thread: BrokenThreadPool 'A thread initializer failed, the thread pool is not usable anymore' for both result and next submit. Python 3.12.10, Windows 11.