jupyterlab environment
本文最后更新于:Wednesday, October 21st 2020, 10:10 pm
The blog is derived from the transition of JupyterLab document
Preface
JupyterLab is the next-generation web-based user interface for Project Jupyter.
JupyterLab enables you to work with documents and activities such as Jupyter notebooks, text editors, terminals, and custom components in a flexible, integrated, and extensible manner.
jupyterlab是下一代基于web的Jupyter项目用户界面;它能让你以灵活、集成和可扩展的方式与文档和活动一起工作,比如notebook,文本编辑器,终端还有自定义组件。
Installation
prerequisite
安装notebook
1
conda install -c conda-forge notebook安装jupyterlab
1
conda install -c conda-forge jupyterlabStart
在conda prompt中敲如下命令
1
jupyter labjupyter lab会自动在浏览器中打开
1
http(s)://<server:port>/<lab-location>/lab因为JupyterLab是
jupyter notebook一个服务器扩展,所以你也能够通过调用jupyter notebook并访问/lab URL来登录JupyterLab。如果👆有问题,多半是kernel有问题;
首先尝试建立一个干净的jupyter环境
1
2
3conda create -n jlab-test --override-channels --strict-channel-priority -c conda-forge -c anaconda jupyterlab // 创建一个新的环境
conda activate jlab-test // 切换到该环境
jupyter lab // 启动jupyterlab
本博客所有文章除特别声明外,均采用 CC BY-SA 3.0协议 。转载请注明出处!