From c48804d81c138f0b891b44be087d2c45a39a63b3 Mon Sep 17 00:00:00 2001 From: Ian Delbridge <67915427+IanDelbridge@users.noreply.github.com> Date: Thu, 18 Apr 2024 14:10:08 -0400 Subject: [PATCH] manually specify multiprocessing use fork in setup.py (#754) --- setup.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setup.py b/setup.py index 03e05801..37d8c4b1 100755 --- a/setup.py +++ b/setup.py @@ -45,6 +45,8 @@ nthreads = mp.cpu_count() if os.name == "nt": nthreads = 0 +else: + mp.set_start_method("fork", force=True) setup( packages=packages,