Skip to content

Commit e3ed97a

Browse files
authored
Pin numpy
skimage is not compatible with the latest version of numpy (1.16) yet. Pining numpy to the 1.15 version for now.
1 parent 89265ba commit e3ed97a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,9 @@ RUN apt-get -y install zlib1g-dev liblcms2-dev libwebp-dev libgeos-dev && \
143143
# MXNet
144144
pip install mxnet && \
145145
# h2o (requires java)
146-
# Upgrade numpy with pip to avoid install errors
147-
pip install --upgrade numpy && \
146+
# Some packages such as sk_image are not compatible with the 1.16 version yet.
147+
# See: https://github.com/scikit-image/scikit-image/issues/3551
148+
pip install numpy==1.15.4 && \
148149
# requires java
149150
apt-get install -y default-jdk && \
150151
cd /usr/local/src && mkdir h2o && cd h2o && \
@@ -404,7 +405,6 @@ RUN pip install bcolz && \
404405
pip install nbconvert && \
405406
pip install nbformat && \
406407
pip install notebook==5.5.0 && \
407-
pip install numpy && \
408408
pip install olefile && \
409409
pip install opencv-python && \
410410
pip install --upgrade pandas && \

0 commit comments

Comments
 (0)