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平臺中,參考下面的連接。

三、更多參考

相關文章
相關標籤/搜索