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,