Skip to content

Commit 5adc832

Browse files
GaelVaroquauxNelleV
authored andcommitted
BF: avoid importing from inside joblib (scikit-learn#7731)
Debian replaces externals.joblib by an import to joblib, because they hate duplication. Hence importing from inside joblib doesn't work, and the line that I removed greats a bug. See http://lists.alioth.debian.org/pipermail/neurodebian-users/2016-October/001093.html
1 parent 4ddb744 commit 5adc832

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/metrics/pairwise.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
from ..preprocessing import normalize
2525
from ..externals.joblib import Parallel
2626
from ..externals.joblib import delayed
27-
from ..externals.joblib.parallel import cpu_count
27+
from ..externals.joblib import cpu_count
2828

2929
from .pairwise_fast import _chi2_kernel_fast, _sparse_manhattan
3030

0 commit comments

Comments
 (0)