Closed GoogleCodeExporter closed 8 years ago
It seems that the defining a function in ipython cannot be pickled and sent to
the thread pool. This might take some time to figure out. However, ipython
includes it's own built in multiprocessing functions for just such cases:
Original comment by nonhermitian
on 22 Oct 2011 at 3:14
After a little further digging, it turns out that you cannot pickle functions
defined interactively (at least without some sneaky ninja tricks). Therefore,
this issue is not likely to be solved anytime soon. We prefer to spend time on
the scientific code portions. Instead, it is best to use the built-in
multiprocessing tools provided by iPython. However, maybe someone who knows
how to do this can come along and provide a fix?
Original comment by nonhermitian
on 22 Oct 2011 at 3:35
This works using the developer version of iPython 0.12. You can download it
from their website.
Original comment by nonhermitian
on 9 Dec 2011 at 2:05
Original issue reported on code.google.com by
cor...@gmail.com
on 21 Oct 2011 at 4:10