Skip to content Skip to sidebar Skip to footer

Typeerror: Can't Pickle Pycapsule Objects

I use dill to save ML model to file. When I run my tests with python -m unittest it works. But if I try run tests with python setup.py test it getting error TypeError: can't pickle

Solution 1:

I'm the dill author. This is a known open issue for dill. See: https://github.com/uqfoundation/dill/issues/106. Essentially, a serialization function for PyCapsule objects has not yet been registered in dill.


Post a Comment for "Typeerror: Can't Pickle Pycapsule Objects"