import multiprocessingdef run():    print("hello")    if __name__ == '__main__':    for i in range(10):        p = multiprocessing.Process(target=run)        p.start()        p.join()

一定要记得添加  if __name__ == '__main__':