On 11/11/2011 10:19 AM, Gael Varoquaux wrote: > On Fri, Nov 11, 2011 at 09:57:30AM +0100, Emanuele Olivetti wrote: >> from ..externals.joblib import Parallel, delayed, cpu_count >> ImportError: cannot import name cpu_count >> ---- >> Maybe this issue is related to python-joblib, but I have it installed >> as well... > Which version of joblib do you have installed? I think that you need at > least version 0.5.3 which was release on June 25 2011, as I added > cpu_count to the public API just before that release: > https://github.com/joblib/joblib/commit/8d0c1878e77e68ec0ff737a7ae547c91d36165d8 >
Oh my bad! I have the NeuroDebian python-joblib which is 0.5.4 but... I've just discovered that I have an old local installation of joblib (v0.4.3) which came first in the PYTHONPATH. After removing the old local installation everything went fine. The v0.5.4 works well with sklearn. Sorry for the noise. Emanuele ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Scikit-learn-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
