Ronald Oussoren <ronaldousso...@mac.com> added the comment:
Please include reproducer code in the issue itself, not on some external side. That said, the error you're getting is related to the start method used by multiprocessing. On Linux the start method is fork, on macOS (and Windows) the start method is spawn. The latter requires that data that's passed to the subprocess can be pickled. We use the "spawn" method on macOS because forking without calling execv is unsafe on macOS when higher level system APIs are used. ---------- nosy: +ronaldoussoren resolution: -> not a bug stage: -> resolved status: open -> pending _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45779> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com