I'm trying to use multiprocessing for doing some works. But, I got that error. Why did that happen? Below is my sample code
def work(x, y):
#doing something
def work_process(x, y):
p = []
for i in x:
p.append(Process(target=work, args=(x, y)))
p[i].start()
for t in p:
t.join()
return result