Closed madagiurgiu25 closed 2 weeks ago
Hi @madagiurgiu25
Thank you! We're aware of this (see https://github.com/fritzsedlazeck/Sniffles/commit/a4af9926a4ec8278d28ea6d9382b15908ed51488), and it will be fixed in the next release which we hope to get out really soon!
Can you confirm this version - i.e. with condition on "darwin" - also works for you? We dont have any Macs to test Sniffles on.
Thanks, Hermann
Hi @hermannromanek,
Yes, it also works like this:
import platform
if platform.system() == 'Darwin':
from multiprocessing import set_start_method
set_start_method("fork")
Best, Madalina
Hi,
I have encountered the following error when running
sniffles 2.4
(python 3.10
) on amacos
.Error:
It seems that the issue is the start method for the
multiprocessing
module in Python, which is set by default onspawn
in my case (macOS Ventura,platform.system()=='Darwin'
). Changing this tofork
fixes the error.I got fixed by including in
site-packages/sniffles/parallel.py
: