use dill, not pickle, fixed error