jupyterlib及简单插件安装_附官方教程

JupyterLab安装教程

前提

  1. 可以使用 conda, mamba, pip, pipenv 或者 docker进行安装,这里以 conda为例

JupyterLab安装

创建虚拟环境

  • 格式

    conda create --name ENVNAME python=3.8 "PKG1>7.6" PKG2
    

    创建一个名为ENVNAME的conda环境,其中指定Python版本为3.8,并且安装版本大于7.6的PKG1库和PKG2

  • 实例

    • 创建虚拟环境

      conda create --name jupyter_lab_env
      

进入虚拟环境

conda activate jupyter_lab_env

安装jupyterlab

conda install -c conda-forge jupyterlab

Python库安装

安装plotly,Dash等库

conda install "jupyterlab>=3" "ipywidgets>=7.6"
conda install -c conda-forge -c plotly jupyter-dash
  • 教程:JupyterLab Support部分

插件安装

自动补全插件 lsp

  • 功能介绍及安装

  • 安装教程

    1. 安装Python3环境
    conda install -c conda-forge python=3
    2. 安装 JupyterLab 和 lsp的扩展插件
    conda install -c conda-forge 'jupyterlab>=3.0.0,<4.0.0a0' jupyterlab-lsp
    3. 安装lsp服务器端
    conda install -c conda-forge python-lsp-server r-languageserver
    

其他官方插件

  • 可直接点击Extension Manager进行安装

安装过程相关问题

无法将“conda”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。

参考文章

posted @ 2021-11-18 10:05  zlbingo  阅读(366)  评论(0)    收藏  举报