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

html - jquery - p element wont show after I hid it -

python - BeautifulSoup: How to get the nearest tag -

php - Return Last Insert ID with PDO -