anurag008w commited on
Commit
271e44a
·
1 Parent(s): 75b8ddb

Update JupyterLab installation command and loop syntax

Browse files
Files changed (1) hide show
  1. start.sh +1 -1
start.sh CHANGED
@@ -755,7 +755,7 @@ export PATH="$HOME/.local/bin:$PATH"
755
  # Runtime install fallback: only attempt if DEV_MODE is enabled but install failed during build
756
  if [ "$DEV_MODE_ENABLED" = "true" ] && ! python3 -c "import jupyterlab" >/dev/null 2>&1; then
757
  echo "DEV_MODE enabled but jupyter-lab is missing; attempting runtime install..."
758
- if python3 -m pip install --user --no-cache-dir --break-system-packages jupyterlab==4.5.7 tornado==6.5.5 ipywidgets==8.1.8; then
759
  echo "Runtime Jupyter install complete."
760
  else
761
  echo "WARNING: Runtime Jupyter install failed; disabling terminal for this boot."
 
755
  # Runtime install fallback: only attempt if DEV_MODE is enabled but install failed during build
756
  if [ "$DEV_MODE_ENABLED" = "true" ] && ! python3 -c "import jupyterlab" >/dev/null 2>&1; then
757
  echo "DEV_MODE enabled but jupyter-lab is missing; attempting runtime install..."
758
+ if python3 -m pip install --user --no-cache-dir --break-system-packages "jupyterlab>=4.2,<5" "tornado>=6.3" "ipywidgets>=8.1"; then
759
  echo "Runtime Jupyter install complete."
760
  else
761
  echo "WARNING: Runtime Jupyter install failed; disabling terminal for this boot."