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

Popular posts from this blog

java - How to print docx and pdf? -

qml - Is it possible to implement SystemTrayIcon functionality in Qt Quick application -

java - IntelliJ to move a class along with conflicted classes to a new package? -