DEAP / deap

Distributed Evolutionary Algorithms in Python
http://deap.readthedocs.org/
GNU Lesser General Public License v3.0
5.82k stars 1.13k forks source link

Onemax_island_scoop Error: This element could not be pickled #220

Open avieln opened 7 years ago

avieln commented 7 years ago

Just trying to run the onemax_island_scoop example. i get this error:

scoop._comm.scoopexceptions.ReferenceBroken: This element could not be pickled: FutureId(worker=b'127.0.0.1:49509', rank=1):partial ....

i am using python 3.5. anyone else got that error?

jsadler2 commented 6 years ago

I have this error too. I'm using Python 2.7.

fmder commented 6 years ago

It looks like partials cannot be pickled in scoop. Maybe try to use native functions.