From e7744927de62aba413124dc4ae3360e1273d3ca7 Mon Sep 17 00:00:00 2001 From: Muhammad Atif Ali Date: Tue, 26 Sep 2023 11:22:50 +0300 Subject: [PATCH] fixup! --- jupyterlab/run.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jupyterlab/run.sh b/jupyterlab/run.sh index 6b18fbd..fb19616 100755 --- a/jupyterlab/run.sh +++ b/jupyterlab/run.sh @@ -10,11 +10,11 @@ if ! command -v jupyterlab & >/dev/null; then # check if python3 pip is installed if ! command -v pip3 & >/dev/null; then echo "pip3 is not installed" - echo "Installing pip3..." - sudo apt-get update && sudo apt-get install python3-pip -y + echo "Please install pip3 in your Dockerfile/VM image before running this script" + exit 1 fi # install jupyterlab - pip3 install --user -q --yes jupyterlab + pip3 install --upgrade --no-cache-dir jupyterlab echo "🥳 jupyterlab has been installed\n\n" else echo "🥳 jupyterlab is already installed\n\n"