diff --git a/helper.sh b/helper.sh index 82556df..0801692 100755 --- a/helper.sh +++ b/helper.sh @@ -25,7 +25,7 @@ export JUPYTER_RUNTIME_DIR="$JUPYTER_ROOT_PATH"/runtime export JUPYTER_DATA_DIR="$JUPYTER_ROOT_PATH"/data enable_venv(){ - test ! -d "$VENV_PATH" && echo 'Python virtual envrionnement not installed' && exit 1 + test ! -d "$VENV_PATH" && echo 'Python virtual environnement not installed' && exit 1 case "$1" in --windows|-W) ENV_PATH="$VENV_PATH"/Scripts/activate ;; @@ -47,8 +47,8 @@ case "$1" in echo '{ "theme": "JupyterLab Dark" }' > "$JUPYTERLAB_SETTINGS_DIR"/@jupyterlab/apputils-extension/themes.jupyterlab-settings echo '{ "fetchNews": "false" }' > "$JUPYTERLAB_SETTINGS_DIR"/@jupyterlab/apputils-extension/notification.jupyterlab-settings enable_venv "$2" - python -m pip install --timeout 60 --retries 1e16 -U pip setuptools - pip install --timeout 60 --retries 1e16 -r requirements.txt + python -m pip install --timeout 120 --retries 10000000000 -U pip setuptools + pip install --timeout 120 --retries 10000000000 -r requirements.txt ;; k|-k|kernel|--kernel)