Skip to content

Commit e6d428d

Browse files
committed
jupyterlab build failure
1 parent 573b0f4 commit e6d428d

File tree

1 file changed

+8
-15
lines changed

1 file changed

+8
-15
lines changed

vendor/ngc-tensorflow/Dockerfile.20.11-tf2-py3

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ ENV DEBIAN_FRONTEND=noninteractive \
2525
NODE_OPTIONS="--max-old-space-size=4096" \
2626
LANG=C.UTF-8
2727

28-
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 2
28+
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 2 && \
29+
python3 -m pip install -U setuptools pip
2930

3031
# install NLP packages *mecab-ko & khai*
3132
RUN apt-get update && \
@@ -174,19 +175,11 @@ WORKDIR /tmp
174175
RUN python3 -m pip install --no-cache-dir \
175176
Cython==0.29.21 \
176177
numpy==1.19.5 \
178+
jupyterlab==2.3.1 \
177179
argon2_cffi==20.1.0
178180
COPY ./requirements.py36.txt /tmp
179181
RUN python3 -m pip install --no-cache-dir -r requirements.py36.txt && \
180182
rm -f /tmp/*.whl /tmp/requirements.py36.txt
181-
ENV SCIPY_VERSION 1.5.4
182-
# Install scipy
183-
RUN cd /tmp && \
184-
git clone --branch=v${SCIPY_VERSION} --depth=1 https://github.com/scipy/scipy.git scipy && \
185-
cd scipy && \
186-
git checkout -b v${SCIPY_VERSION} && \
187-
cp site.cfg.example site.cfg && \
188-
pip uninstall -y typing && \
189-
python3 -m pip install .
190183

191184
# Install Open MPI
192185
RUN mkdir /tmp/openmpi && \
@@ -222,14 +215,14 @@ RUN jupyter nbextensions_configurator enable && \
222215
jupyter serverextension enable --py jupyterlab --sys-prefix && \
223216
jupyter serverextension enable --py jupyter_lsp && \
224217
jupyter labextension install @jupyter-widgets/jupyterlab-manager --no-build && \
225-
jupyter labextension install jupyterlab-jupytext@1.2.2 --no-build && \
218+
jupyter labextension install jupyterlab-jupytext --no-build && \
226219
jupyter labextension install @jupyterlab/toc --no-build && \
227220
jupyter labextension install @kiteco/jupyterlab-kite --no-build && \
228-
jupyter labextension install jupyterlab-flake8 --no-build && \
229-
jupyter labextension install @pyviz/jupyterlab_pyviz --no-build && \
221+
# jupyter labextension install jupyterlab-flake8 --no-build && \
222+
# jupyter labextension install @pyviz/jupyterlab_pyviz --no-build && \
230223
jupyter labextension install @bokeh/jupyter_bokeh --no-build && \
231-
jupyter labextension install jupyterlab-nvdashboard --no-build && \
232-
jupyter lab build
224+
# jupyter labextension install jupyterlab-nvdashboard --no-build && \
225+
jupyter lab build --dev-build=False --minimize=False
233226

234227
RUN apt autoclean && \
235228
sed -i 's/source \/usr\/local\/nvm\/nvm.sh//' /etc/bash.bashrc && \

0 commit comments

Comments
 (0)