An attempt has been made to start a new process before the current process has finished its bootstrapping phase

前端 未结 1 1240
名媛妹妹
名媛妹妹 2021-02-20 13:06

I am new to dask and I found so nice to have a module that makes it easy to get parallelization. I am working on a project where I was able to parallelize in a single machine a

1条回答
  •  既然无缘
    2021-02-20 13:42

    The Client command starts up new processes, so it will have to be within the if __name__ == '__main__': block as described in this SO question or this GitHub issue

    This is the same as with the multiprocessing module

    0 讨论(0)
提交回复
热议问题