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

Reply via email to