under if __name__ = "__main__":" set the code: multiprocessing.freeze_support() 转载于:https://www.cnblogs.com/otfsenter/p/6652587.html