From 6feadf4e722eef7840c10f9fd42dcc0f1542117c Mon Sep 17 00:00:00 2001 From: perdasilva Date: Fri, 10 May 2019 15:52:54 +0200 Subject: [PATCH] Pins version of scikit-learn for python2 due to drop in support (#14928) (#14929) --- ci/docker/install/ubuntu_tutorials.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ci/docker/install/ubuntu_tutorials.sh b/ci/docker/install/ubuntu_tutorials.sh index 404d4bbf646c..4e40426ed85c 100755 --- a/ci/docker/install/ubuntu_tutorials.sh +++ b/ci/docker/install/ubuntu_tutorials.sh @@ -23,5 +23,7 @@ set -ex apt-get update || true apt-get install graphviz python-opencv -pip2 install jupyter matplotlib Pillow opencv-python scikit-learn graphviz tqdm mxboard -pip3 install jupyter matplotlib Pillow opencv-python scikit-learn graphviz tqdm mxboard + +# sckit-learn past version 0.20 does not support python version 2 and 3.4 +pip2 install jupyter matplotlib Pillow opencv-python "scikit-learn<0.21.0" graphviz tqdm mxboard scipy +pip3 install jupyter matplotlib Pillow opencv-python scikit-learn graphviz tqdm mxboard scipy