Python多进程 AttributeError: Can't get attribute 'worker' on module '__main__' from
将创建进程池对象放在子进程函数之前会产生AttributeError: Can't get attribute 'worker' on <module '__main__' from '/home/tian/file/pool.py'>from multiprocessing import Poolfrom time import sleep,ctime#创建进程池对...
原创
2018-11-17 15:06:30 ·
11837 阅读 ·
5 评论