Spaces:
Running
Running
Commit ·
271e44a
1
Parent(s): 75b8ddb
Update JupyterLab installation command and loop syntax
Browse files
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=
|
| 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."
|