Needless to say, if you have a way to reproduce this one with a simpler
case, please let us know. We'd love to track down the origin of the problem
and fix it if it's possible within ipython...


On Mon, Jun 30, 2014 at 12:48 AM, Olivier Grisel <[email protected]>
wrote:

> I could reproduce the "ZMQError: Address already in use" under Python
> 3.4, IPython 2.1.0 and scikit-learn master when using cross validation
> with n_jobs != 1 in IPython notebook on long running jobs.
> There might be a problem with IPython notebook and POSIX forks
> triggered by the use of mulitprocessing.
>
> Unfortunately I cannot reproduce when I tried to reproduce it on a toy
> debugging script.
>
> The good news is that under Python 3.4, you can stop using raw forks
> by adding the following lines at the beginning of your notebook:
>
> import multiprocessing as mp
> import sys
>
> if hasattr(mp, 'set_start_method') and not sys.platform.startswith('win'):
>     mp.set_start_method('forkserver')
>
> --
> Olivier
>
>
> ------------------------------------------------------------------------------
> Open source business process management suite built on Java and Eclipse
> Turn processes into business applications with Bonita BPM Community Edition
> Quickly connect people, data, and systems into organized workflows
> Winner of BOSSIE, CODIE, OW2 and Gartner awards
> http://p.sf.net/sfu/Bonitasoft
> _______________________________________________
> Scikit-learn-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>



-- 
Fernando Perez (@fperez_org; http://fperez.org)
fperez.net-at-gmail: mailing lists only (I ignore this when swamped!)
fernando.perez-at-berkeley: contact me here for any direct mail
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to