under if __name__ = "__main__":"
if __name__ = "__main__":"
set the code:
multiprocessing.freeze_support()