JupyterLab Installed

For version v1.6.22, this is how I got JupyterLab working by:

  • Adding this to form.yml

- jupyterlab_switch

attributes:
  jupyterlab_switch:
    widget: "check_box"
    value: 1
    label: Use JupyterLab instead of Jupyter Notebook?
    help: |
      JupyterLab is the next generation of Jupyter with an IDE-like experience, and is completely compatible with existing Jupyter Notebooks.
  • Changing the last line of template/script.sh.erb to this

jupyter <%= context.jupyterlab_switch == "1" ? "lab" : "notebook" %> --config="${CONFIG_FILE}" <%= context.extra_jupyter_args %>

Based upon:

1 Like