Cannot import pathos in Python -


import pathos import pathos.multiprocessing mp import dill print pool.map(pow, [1,2,3,4], [5,6,7,8]) 

when run above code throws error

cannot find pathos.multiprocessing

cannot import pathos

i tried possible ways not find solution. trying work on developing code takes more 10 inputs , process them using multiprocessing instead of waiting in queue , generates output. have tried multiprocessing, throws pickling error, tried use pathos, says cannot import pathos. can 1 tell me possible solution this???

you need install software use, otherwise can't use it.

so, go ahead , install pathos.


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -