Skip to content Skip to sidebar Skip to footer

Python Multiprocessing Issue In Windows And Spyder

I have a project for my college regarding multiprocessing in python.For my python projects I use spyder in windows. Therefore im trying to run a very trivial multi - processing co

Solution 1:

After some research i understand that there is an issue with interactive interpreters and multiporcessing.

In: https://docs.python.org/2.7/library/multiprocessing.html#introduction it is stated that: Note: ... some examples, such as the Pool examples will not work in the interactive interpreter.

An older post addressing a similar issue it was answered by a spyder maintainer that indeed multiprocessing doesn't work well on Windows in Spyder's IPython console. (No multiprocessing print outputs (Spyder))

The only workaround i found so far is to use the windows cmd to run the code

Post a Comment for "Python Multiprocessing Issue In Windows And Spyder"