Skip to content

Commit 10668a8

Browse files
committed
add MPLBACKEND=Svg
1 parent 578c768 commit 10668a8

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

commons/Dockerfile.base.20.06-py36-cuda10.1

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,23 +145,23 @@ RUN curl https://bootstrap.pypa.io/get-pip.py | python3 && \
145145
python3 -m pip install --no-cache-dir -U setuptools pip
146146

147147
# Install TensorFlow, Keras, PyTorch and MXNet
148-
RUN python3 -m pip install pip --no-cache-dir -Iv \
148+
RUN python3 -m pip install --no-cache-dir -Iv \
149149
Cython==0.29.13 \
150-
numpy==1.16.3 \
150+
numpy==1.14.5 \
151151
scipy==1.4.1 \
152152
scikit-image==0.16.2 \
153153
scikit-learn==0.22.2 \
154154
tornado==6.0.4 \
155155
pystan==2.19.1.1 \
156156
pycairo==1.19.0 \
157-
matplotlib==3.1.3
157+
matplotlib==3.1.1
158158
RUN python3 -m pip install pip --no-cache-dir \
159159
Cartopy==0.17.0 \
160160
notebook==6.0.3
161161

162162
WORKDIR /tmp
163163
COPY ./requirements.20.06.txt /tmp
164-
RUN python3 -m pip install --no-cache-dir -Ir requirements.20.06.txt
164+
RUN python3 -m pip install --no-cache-dir -Ivr requirements.20.06.txt
165165

166166
# NLP
167167
RUN python3 -m pip install --no-cache-dir konlpy h5py && \
@@ -332,4 +332,12 @@ RUN jupyter nbextensions_configurator enable && \
332332
git clone https://github.com/lambdalisue/jupyter-vim-binding vim_binding && \
333333
jupyter nbextension enable /home/work/.jupyter/nbextension/vim_binding/vim_binding
334334

335+
RUN python3 -m pip install --upgrade --force-reinstall --no-cache-dir \
336+
numpy==1.14.5 \
337+
scipy==1.4.1 \
338+
scikit-image==0.16.2 \
339+
scikit-learn==0.22.2 \
340+
matplotlib==3.1.1
341+
342+
335343
WORKDIR /home/work

0 commit comments

Comments
 (0)