I'm trying to learn about parallel execution for Differential Evolution method. I used the example found on the documentation:
from scipy.optimize import rosen, differential_evolution
bounds = [(0,2), (0, 2), (0, 2), (0, 2), (0, 2)]
result = differential_evolution(rosen, bounds, updating='deferred',workers=2)
But it throws the following error:

Can somebody please suggest a method to solve this issue.