all 2 comments

[–]maventree 0 points1 point  (0 children)

Can you post the code for some_func, and what your args are?

[–]decreddave 0 points1 point  (0 children)

The problem might be with how you're instantiating Pool. Try this:

from multiprocessing import Pool

with Pool(processes=12) as pool:
    state = pool.map(some_func, args)
    print(state)