-
Is there a tutorial? I searched a lot but I couldn't find one. But running the optimizer gives the message I am a Mac user. Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
See Contexts and Start Methods in Python |
Beta Was this translation helpful? Give feedback.
-
tried this. getting: |
Beta Was this translation helpful? Give feedback.
-
import multiprocessing as mp
try:
# mp.set_start_method("spawn", force=True)
# print("spawned")
mp.set_start_method("fork", force=True)
print("forked")
except RuntimeError:
pass |
Beta Was this translation helpful? Give feedback.
See Contexts and Start Methods in Python
multiprocessing
docs.