On Windows platform these two lines cause Python code execution to run in infinite loop with every loop starting from the beginning of the script:
import multiprocessing as mp manager=mp.Manager() It runs fine on Mac. What would be a reason? It successfully imports import multiprocessing as mp. But on manager=mp.Manager() it breaks (with no errors) and jumps back to the first line of the code.