2

我正在尝试与我的团队共享我的 Jupyter 笔记本,并希望我们所有人都在同一个笔记本上进行验证?可能吗 ?

4

1 回答 1

0

Yes, JupyterLab 3.1 introduces Real Time Collaboration mode:

  1. Ensure you have JupyterLab 3.1 or newer installed, and for convenience install jupyterlab-link-share:

    pip install -U "jupyterlab>=3.1" jupyterlab-link-share
    
  2. Add c.LabApp.collaborative = True setting to your config file (which is jupyter_server_config.py or jupyter_notebook_config.py depending on the server you use)

  3. After restarting JupyterLab open the new Share menu and choose Share Jupyter Server Link, copy the link and send it to your collaborator. Of course, the serve needs to be accessible for them (in the same network, or publicly available).

You can try it out on binder: Binder (here using this public gist).

enter image description here

JupyterHub users may need to perform additional configuration (as discussed on the discourse here) because there are additional permissions/authentication questions to be dealt with.

于 2021-07-27T20:34:55.947 回答