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

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

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

android - How to create dynamically Fragment pager adapter -