Problem using multiprocess with IPython
Answered
As posted in this stack overflow question: https://stackoverflow.com/questions/44658108/python-multiprocess-does-not-join-in-pycharm , when running a pool of processes in pycharm's interactive console (using IPython 5.1.0) the pool.join() doesn't seem to have any effect, while it works just fine when running from terminal or in debug mode. Any idea why this is happening? Could not find related questions, but if there is one you know of please point to it.
Please sign in to leave a comment.
Hi Gionatarogiani! We have a similar problem with using `multiprocessing.Pool`: https://youtrack.jetbrains.com/issue/PY-20885
But the problem is that
Poolcannot be used inside interactive interpreter. It's not a PyCharm problem, it's amultiprocessingpackage limitation. Docs: https://docs.python.org/3/library/multiprocessing.html#using-a-pool-of-workersFeel free to leave a comment and follow the issue.
Ok, good to know, thanks a lot for your help :)