JupyterLab的本地安装和使用(Ubuntu 18.04)

JupyterLab 是 Project Jupyter的下一代用户界面,能够用于 JupyterHub,做为一个选项或设为缺省的用户界面使用。html

运行界面以下:shell

一、安装 JupyterLab

须要先安装Jupyter,而后安装JupyterLab,以及Jupyter 扩展。服务器

pip3 install jupyter

若是有conda的话,能够在命令行使用下面这条命令安装:spa

conda install -c conda-forge jupyter
conda install -c conda-forge jupyterlab

若是有pip的话能够这样安装:.net

pip3 install jupyterlab

遇到没有安装权限的处理:插件

pip3 install jupyter --user

安装jupyter的扩展:命令行

jupyter labextension install @jupyterlab/hub-extension

二、启动JupyterLab

安装完毕后,在命令行输入:jupyter lab,便可启动本地的jupyter服务器。其它参数使用jupyter -h得到帮助。code

在jupyterlab环境中,能够使用几乎全部的Python库,还能够使用magic操做符执行shell下的操做。htm

若是使用GIS,能够安装iObjectPy、iClientPy、GDAL等其它库。blog

若是须要在多节点的大型集群中使用jupyterlab,建议将其运行到Kubernetes平台中,参考下面的连接。

三、更多参考

相关文章
相关标签/搜索