fix jupyterlab

pull/45/head
Muhammad Atif Ali 2 years ago
parent 286c6dacf9
commit 2b40b57950

@ -3,16 +3,17 @@
echo "Installing jupyterlab..." echo "Installing jupyterlab..."
# check if jupyterlab is installed # check if jupyterlab is installed
if ! command -v jupyterlab &> /dev/null then if ! command -v jupyterlab & >/dev/null; then
# install jupyterlab # install jupyterlab
# check if python3 pip is installed # check if python3 pip is installed
if ! command -v pip3 &> /dev/null then if ! command -v pip3 & >/dev/null; then
echo "pip3 is not installed" echo "pip3 is not installed"
echo "Please install pip3 and try again" echo "Please install pip3 and try again"
exit 1 exit 1
fi else
pip3 install jupyterlab pip3 install jupyterlab
echo "jupyterlab installed!" echo "jupyterlab installed!"
fi
else else
echo "jupyterlab is already installed." echo "jupyterlab is already installed."
fi fi

Loading…
Cancel
Save