Python 3.6+: Nested multiprocessing managers cause FileNotFoundError
问题 So I'm trying to use multiprocessing Manager on a dict of dicts, this was my initial try: from multiprocessing import Process, Manager def task(stat): test['z'] += 1 test['y']['Y0'] += 5 if __name__ == '__main__': test = Manager().dict({'x': {'X0': 10, 'X1': 20}, 'y': {'Y0': 0, 'Y1': 0}, 'z': 0}) p = Process(target=task, args=(test,)) p.start() p.join() print(test) of course when I run this, the output is not what I expect, z updates correctly while y is unchanged! This is the output: {'x': {