Added greater iopub_data_rate_limit

This commit is contained in:
saundersp 2024-01-22 21:50:35 +01:00
parent 84ad306b8d
commit 5f603fddc3

View File

@ -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 9999999999999999 -U pip setuptools
pip install --timeout 60 --retries 9999999999999999 -r requirements.txt
python -m pip install --timeout 60 --retries 1e16 -U pip setuptools
pip install --timeout 60 --retries 1e16 -r requirements.txt
;;
k|-k|kernel|--kernel)
@ -75,7 +75,7 @@ case "$1" in
l|-l|launch|--launch)
enable_venv "$2"
if command -v jupyter >> /dev/null; then
exec jupyter lab
exec jupyter lab --ServerApp.iopub_data_rate_limit 1e16
else
echo "Jupyter lab isn't installed"
exit 1