This is an automated email from the ASF dual-hosted git repository.
marcoabreu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git
The following commit(s) were added to refs/heads/master by this push:
new f4598e7 Pins version of scikit-learn for python2 due to drop in
support (#14928)
f4598e7 is described below
commit f4598e743aa70e189db66e3d696f4cb52441d098
Author: perdasilva <[email protected]>
AuthorDate: Fri May 10 12:54:32 2019 +0200
Pins version of scikit-learn for python2 due to drop in support (#14928)
---
ci/docker/install/ubuntu_tutorials.sh | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/ci/docker/install/ubuntu_tutorials.sh
b/ci/docker/install/ubuntu_tutorials.sh
index 60adf46..4e40426 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 scipy
+
+# 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