From 368a3a0e78c77be8fb1bd3ae25f0821421c3bfaa Mon Sep 17 00:00:00 2001 From: Muhammad Atif Ali Date: Tue, 26 Sep 2023 11:07:26 +0300 Subject: [PATCH] update install script --- jupyterlab/run.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/jupyterlab/run.sh b/jupyterlab/run.sh index 50fe363..683b7c5 100755 --- a/jupyterlab/run.sh +++ b/jupyterlab/run.sh @@ -8,12 +8,12 @@ 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 "Please install pip3 and try again" - exit 1 - else - pip3 install jupyterlab - echo "jupyterlab installed!" + echo "Installing pip3..." + sudo apt-get update && sudo apt-get install python3-pip -y fi + # install jupyterlab + pip3 install --user -q -y jupyterlab + echo "jupyterlab installed." else echo "jupyterlab is already installed." fi