python - Can't pickle PyCapsule in multiprocessing.Pool -
i wrote c library python .so object import. inside, use pycapsules manipulate c structures or use c functions , works well. want parrallelize usage of function in .so lib using multiprocessing.pool. it's seems multiprocessing.pool can't pickle pycapsules:
cpickle.picklingerror: can't pickle <type 'pycapsule'>: attribute lookup __builtin__.pycapsule failed
does have idea if there workaround? thanks.
Comments
Post a Comment