Jovian
⭐️
Sign In

安装

通过pip安装

pip install --user jupyter lab

在命令行中输入

jupyter lab

即可打开jupyterlab

扩展

jupyterlab extension是基于Java编写的,因此要下载Node.js。如果你有conda,你可以通过以下指令安装Node.js

conda install -c conda-forge nodejs

之后前往settings中打开Extension Manager Section。

settings->Advanced settings editor->Extension Manager

使用User Overrides将enable设置为true。之后再重启,就要以在左侧发现一个新出现的插件Tab。

常用拓展

  1. toc : table of contents
  2. jupyter_html: 可由jupyterlab直接打开html文件。
  3. jupyterlab-python-file:可用jupyter 直接创建py文件
jupyter labextension install @jupyter-widgets/jupyterlab-manager
jupyter labextension install jupyter-matplotlib
jupyter labextension install @jupyterlab/toc
jupyter labextension install jupyterlab-jupytext
jupyter labextension install jupyterlab_bokeh
# 可以查看一下安装的插件
jupyter labextension list
In [1]:
import jovian

jovian.commit('jupyterlab的使用.ipynb')
[jovian] Saving notebook..
[jovian] Creating a new notebook on https://jvn.io [jovian] Uploading notebook.. [jovian] Capturing environment.. [jovian] Committed successfully! https://jvn.io/shuguang-52/ad297aab1c204cb79f955541f9953a62
In [ ]: