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 Pool
from time import sleep,ctime
#创建进程池对...
原创
2018-11-17 15:06:30 ·
12509 阅读 ·
5 评论