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

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -