summaryrefslogtreecommitdiff
path: root/etc/pkgs/001-jupyter.sh
blob: 7ff1cd4a2b41498359eb31cda655a90ed0c0ce57 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash
set -x

pip install --upgrade --progress-bar=off \
    notebook==5.7.2 \
    jupyterhub==0.9.4 \
    jupyterlab==0.35.4

# Workaround for kernel+WebSocket failure
# See: https://github.com/jupyter/notebook/issues/4399
pip install --progress-bar=off  tornado==5.1.1

jupyter labextension install @jupyterlab/hub-extension@^0.12.0
jupyter notebook --generate-config -y

# Clean up
npm cache clean --force
rm -rf ${TOOLCHAIN}/share/jupyter/lab/staging
rm -rf /home/${USER_ACCT}/.cache/yarn