Skip to content
Snippets Groups Projects
Commit dc64fd0c authored by calrama's avatar calrama
Browse files

[jupyterhub] add venv&kernel for tensorflow 2

parent 6faf6393
No related branches found
No related tags found
No related merge requests found
Pipeline #33387 passed
...@@ -85,7 +85,42 @@ RUN mkdir -p /usr/local/venv && \ ...@@ -85,7 +85,42 @@ RUN mkdir -p /usr/local/venv && \
neo \ neo \
'mxnet-cu101>=1.6.0,<1.7.0' \ 'mxnet-cu101>=1.6.0,<1.7.0' \
&& \ && \
ipython kernel install --name=default ipython kernel install --name=default --display-name "Python (Default)"
RUN mkdir -p /usr/local/venv && \
python${PYTHON_VERSION} -m venv /usr/local/venv/tf2 && \
. /usr/local/venv/tf2/bin/activate && \
python${PYTHON_VERSION} -m pip install --upgrade \
pip==${PYTHON_PIP_VERSION} \
setuptools==${PYTHON_SETUPTOOLS_VERSION} && \
pip install tensorflow==2.3.1 && \
pip install \
wheel \
black \
isort \
pandas \
scipy \
pingouin \
statsmodels \
matplotlib \
seaborn \
brokenaxes \
tables \
xlrd \
hsluv \
ipympl \
ipywebrtc \
ipyvolume \
JPype1 \
PySide2 \
ipykernel \
tqdm \
sklearn \
ffmpeg-python \
neo \
'mxnet-cu101>=1.6.0,<1.7.0' \
&& \
ipython kernel install --name=tf2 --display-name "Python (TensorFlow 2)"
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y \ apt-get install -y \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment