阅读背景:

windows中使用multiprocessing报错 RuntimeError:An attempt has been made to start a new process before ...

来源:互联网 

windows环境下使用multiprocessing报错:

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

        This probably means that you are not using fork to start your
        child processes and you have forgotten to use the proper idiom
        in the main module:

            if __name__ == '__main__':
                freeze_support()
                ...Run



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: