python3.6/lib/python3.6/site-packages/pathos/parallel.py:234: in map
return list(self.imap(f, args))
python3.6/lib/python3.6/site-packages/pathos/parallel.py:247: in imap
return (subproc() for subproc in list(builtins.map(submit, args)))
python3.6/lib/python3.6/site-packages/pathos/parallel.py:243: in submit
return _pool.submit(f, argz, globals=globals())
python3.6/lib/python3.6/site-packages/pp/_pp.py:500: in submit
sargs = pickle.dumps(args, self.__pickle_proto)
python3.6/lib/python3.6/site-packages/dill/_dill.py:265: in dumps
dump(obj, file, protocol, byref, fmode, recurse, kwds)#, strictio)
python3.6/lib/python3.6/site-packages/dill/_dill.py:259: in dump
Pickler(file, protocol, _kwds).dump(obj)
python3.6/lib/python3.6/site-packages/dill/_dill.py:446: in dump
StockPickler.dump(self, obj)
python3.6/lib/python3.6/pickle.py:409: in dump
self.save(obj)
python3.6/lib/python3.6/pickle.py:476: in save
f(self, obj) # Call unbound method with explicit self
python3.6/lib/python3.6/pickle.py:736: in save_tuple
save(element)
python3.6/lib/python3.6/pickle.py:521: in save
self.save_reduce(obj=obj, rv)
python3.6/lib/python3.6/pickle.py:634: in save_reduce
save(state)
python3.6/lib/python3.6/pickle.py:476: in save
f(self, obj) # Call unbound method with explicit self
python3.6/lib/python3.6/site-packages/dill/_dill.py:933: in save_module_dict
StockPickler.save_dict(pickler, obj)
python3.6/lib/python3.6/pickle.py:821: in save_dict
self._batch_setitems(obj.items())
python3.6/lib/python3.6/pickle.py:852: in _batch_setitems
save(v)
python3.6/lib/python3.6/pickle.py:521: in save
self.save_reduce(obj=obj, rv)
python3.6/lib/python3.6/pickle.py:634: in save_reduce
save(state)
python3.6/lib/python3.6/pickle.py:476: in save
f(self, obj) # Call unbound method with explicit self
python3.6/lib/python3.6/site-packages/dill/_dill.py:933: in save_module_dict
StockPickler.save_dict(pickler, obj)
python3.6/lib/python3.6/pickle.py:821: in save_dict
self._batch_setitems(obj.items())
python3.6/lib/python3.6/pickle.py:847: in _batch_setitems
save(v)
python3.6/lib/python3.6/pickle.py:521: in save
self.save_reduce(obj=obj, *rv)
python3.6/lib/python3.6/pickle.py:634: in save_reduce
save(state)
python3.6/lib/python3.6/pickle.py:476: in save
f(self, obj) # Call unbound method with explicit self
python3.6/lib/python3.6/site-packages/dill/_dill.py:933: in save_module_dict
StockPickler.save_dict(pickler, obj)
python3.6/lib/python3.6/pickle.py:821: in save_dict
self._batch_setitems(obj.items())
python3.6/lib/python3.6/pickle.py:847: in _batch_setitems
save(v)
python3.6/lib/python3.6/pickle.py:496: in save
rv = reduce(self.proto)E TypeError: 'bool' object is not callable
For the problem described here: https://stackoverflow.com/questions/63832794/pathos-multiprocessing-failing-for-class-objects I am getting this error:
python3.6/lib/python3.6/site-packages/pathos/parallel.py:234: in map return list(self.imap(f, args)) python3.6/lib/python3.6/site-packages/pathos/parallel.py:247: in imap return (subproc() for subproc in list(builtins.map(submit, args))) python3.6/lib/python3.6/site-packages/pathos/parallel.py:243: in submit return _pool.submit(f, argz, globals=globals()) python3.6/lib/python3.6/site-packages/pp/_pp.py:500: in submit sargs = pickle.dumps(args, self.__pickle_proto) python3.6/lib/python3.6/site-packages/dill/_dill.py:265: in dumps dump(obj, file, protocol, byref, fmode, recurse, kwds)#, strictio) python3.6/lib/python3.6/site-packages/dill/_dill.py:259: in dump Pickler(file, protocol, _kwds).dump(obj) python3.6/lib/python3.6/site-packages/dill/_dill.py:446: in dump StockPickler.dump(self, obj) python3.6/lib/python3.6/pickle.py:409: in dump self.save(obj) python3.6/lib/python3.6/pickle.py:476: in save f(self, obj) # Call unbound method with explicit self python3.6/lib/python3.6/pickle.py:736: in save_tuple save(element) python3.6/lib/python3.6/pickle.py:521: in save self.save_reduce(obj=obj, rv) python3.6/lib/python3.6/pickle.py:634: in save_reduce save(state) python3.6/lib/python3.6/pickle.py:476: in save f(self, obj) # Call unbound method with explicit self python3.6/lib/python3.6/site-packages/dill/_dill.py:933: in save_module_dict StockPickler.save_dict(pickler, obj) python3.6/lib/python3.6/pickle.py:821: in save_dict self._batch_setitems(obj.items()) python3.6/lib/python3.6/pickle.py:852: in _batch_setitems save(v) python3.6/lib/python3.6/pickle.py:521: in save self.save_reduce(obj=obj, rv) python3.6/lib/python3.6/pickle.py:634: in save_reduce save(state) python3.6/lib/python3.6/pickle.py:476: in save f(self, obj) # Call unbound method with explicit self python3.6/lib/python3.6/site-packages/dill/_dill.py:933: in save_module_dict StockPickler.save_dict(pickler, obj) python3.6/lib/python3.6/pickle.py:821: in save_dict self._batch_setitems(obj.items()) python3.6/lib/python3.6/pickle.py:847: in _batch_setitems save(v) python3.6/lib/python3.6/pickle.py:521: in save self.save_reduce(obj=obj, *rv) python3.6/lib/python3.6/pickle.py:634: in save_reduce save(state) python3.6/lib/python3.6/pickle.py:476: in save f(self, obj) # Call unbound method with explicit self python3.6/lib/python3.6/site-packages/dill/_dill.py:933: in save_module_dict StockPickler.save_dict(pickler, obj) python3.6/lib/python3.6/pickle.py:821: in save_dict self._batch_setitems(obj.items()) python3.6/lib/python3.6/pickle.py:847: in _batch_setitems save(v) python3.6/lib/python3.6/pickle.py:496: in save rv = reduce(self.proto) E TypeError: 'bool' object is not callable
Can some one assist me please ?