jupyterlab 安装
一、安装
pip install jupyterlab
pip install jupyterlab-language-pack-zh-CN
二、生成配置文件
jupyter lab --generate-config
然后修改生成的配置文件就可以了
c.ServerApp.allow_remote_access = False
c.ServerApp.ip = '0.0.0.0'
c.ServerApp.open_browser = False
c.ServerApp.password = 'sha1**********'
c.ServerApp.port = 8888
c.ServerApp.password 设置登录密码
三、插件管理
注意:如果没有出现插件选项卡,可以通过 setting–>Advanced Settings Editor–Extension Manager :在User Overrides 添加语句{“enabled”: true},最后保存,就可以出现插件选项
当然,你也可以使用命令行方式进行插件的查看、安装、更新和删除查看已安装插件:jupyter labextension list
更新已安装插件:jupyter labextension update --all
安装插件toc:jupyter labextension install @jupyterlab/toc
删除插件toc:jupyter labextension uninstall @jupyterlab/toc
四、常用插件
REM 安装matplotlib 插件
pip install ipympl
pip install npm
pip install nodejs
jupyter labextension install @jupyter-widgets/jupyterlab-manager jupyter-matplotlibREM 安装lsp插件
pip install jupyter-lsp
pip install python-lsp-server[all]
pip install python-language-server[all]
jupyter labextension install @krassowski/jupyterlab-lspREM 安装code formatter 插件
pip install jupyterlab_code_formatter
jupyter labextension install @ryantam626/jupyterlab_code_formatter
pip install black isortREM jupyterlab-toc帮助我们在notebook界面利用markdown来创建目录,辅助我们更好地整合梳理数据分析工作流
jupyter labextension install @jupyterlab/tocjupyter labextension install @jupyterlab/debugger-extensionREM 在jupyter lab中进行debug
jupyter labextension install @jupyterlab/debuggerREM jupyterlab-drawio是一个让我们可以在jupyter lab界面内基于drawio绘制流程图、思维导图等示意图的插件
jupyter labextension install jupyterlab-drawioREM jupyter-matplotlib帮助我们在notebook界面配合matplotlib实现交互式的作图,只需要在绘图之前执行魔法命令%matplotlib widget,之后绘制的所有matplotlib图表即可自动转换为交互式的
pip install ipympl
jupyter labextension install @jupyter-widgets/jupyterlab-manager jupyter-matplotlibREM jupyterlab-execute-time插件帮助我们在jupyter lab中记录每个单元cell的执行开始以及运行耗时
jupyter labextension install jupyterlab-execute-timeREM jupyterlab-plotly是一款帮助plotly图像在jupyter lab中正常渲染的插件
jupyter labextension install @jupyter-widgets/jupyterlab-manager plotlywidgetREM jupyterlab-spreadsheet帮助我们在jupyter lab中查看表格类文件,特别是其支持查看多工作表的excel表格文件
jupyter labextension install jupyterlab-spreadsheetREM jupyterlab-system-monitor通过在jupyter lab界面中添加资源监视器部件,能帮助我们在工作过程中方便的看到CPU、内存的实时占用情况:
pip install nbresuse
jupyter labextension install jupyterlab-topbar-extension jupyterlab-system-monitorREM 通过使用在JupyterLab中添加对markdown的其他渲染支持 markdown-it,以及以下内容 插件
pip install jupyterlab_markup
jupyter labextension install @agoose77/jupyterlab-markuppip install jupyterlab_latex
jupyter labextension install @mflevine/jupyterlab_html
pip install jupyterlab-dash
pip install jupyterlab-githubREM 该插件可以在Lab中展示plotly可视化效果。
pip install jupyterlab-fasta
pip install jupyterlab-geojson
pip install jupyterlab-katex
pip install jupyterlab-mathjax3
pip install jupyterlab-vega2
pip install jupyterlab-vega3
pip install jupyterlab-plotlyREM 该插件可以在Lab中展示bokeh可视化效果。
pip install jupyter_bokehREM 该插件可以在Lab中连接数据库,并进行sql查询和修改操作。会报错:The extension "jupyterlab-sql" is outdated
REM pip install jupyterlab_sql
五、代码自动提示完成
pip install jupyter-lsp
pip install python-lsp-server[all]
jupyter labextension install @krassowski/jupyterlab-lsp
依次点击[【设置】–>【高级设置编辑器】(【Settings】–>【Advanced Settings Editor】)
选择Code Completion,在右侧输入如下代码,并保存,即可开启Hinterland mode
{
"continuousHinting": true
}
六、安装完毕插件列表:
jupyter labextension list
JupyterLab v3.4.3
.\share\jupyter\labextensionsjupyter-matplotlib v0.11.1 enabled okjupyterlab-plotly v5.8.2 enabled okjupyterlab_pygments v0.2.2 enabled ok (python, jupyterlab_pygments)@agoose77/jupyterlab-markup v2.0.0 enabled ok (python, jupyterlab_markup)@bokeh/jupyter_bokeh v3.0.4 enabled ok (python, jupyter_bokeh)@jupyter-widgets/jupyterlab-manager v3.1.0 enabled ok (python, jupyterlab_widgets)@jupyterlab/fasta-extension v3.2.0 enabled ok (python, jupyterlab-fasta)@jupyterlab/geojson-extension v3.2.0 enabled ok (python, jupyterlab-geojson)@jupyterlab/katex-extension v3.3.0 enabled ok (python, jupyterlab-katex)@jupyterlab/latex v3.1.0 enabled ok (python, jupyterlab-latex)@jupyterlab/mathjax3-extension v4.3.0 enabled ok (python, jupyterlab-mathjax3)@jupyterlab/server-proxy v3.2.1 enabled ok@jupyterlab/vega2-extension v3.2.0 enabled ok (python, jupyterlab-vega2)@jupyterlab/vega3-extension v3.2.0 enabled ok (python, jupyterlab-vega3)@ryantam626/jupyterlab_code_formatter v1.4.11 enabled ok (python, jupyterlab-code-formatter)Other labextensions (built into JupyterLab)app dir: D:\apply\Python3104\share\jupyter\lab@jupyterlab/debugger v3.4.3 enabled ok@jupyterlab/toc v5.4.3 enabled ok@krassowski/jupyterlab-lsp v3.10.1 enabled okjupyterlab-drawio v0.9.0 enabled okjupyterlab-spreadsheet v0.4.1 enabled okjupyterlab-system-monitor v0.7.0 enabled okjupyterlab-topbar-extension v0.6.0 enabled okplotlywidget v4.14.3 enabled ok
jupyterlab 安装相关推荐
- 新上手jupyterlab安装及问题解决
新上手jupyterlab安装及问题解决 参考文章: (1)新上手jupyterlab安装及问题解决 (2)https://www.cnblogs.com/xingnie/p/10930378.htm ...
- python安装jupyterlab_Jupyter/JupyterLab安装使用
一.介绍 Jupyther notebook(曾经的Ipython notebook),是一个可以把代码.图像.注释.公式和作图集于一处,实现可读性及可视化分析的工具,支持多种编程语言.官方使用手册. ...
- python安装jupyterlab_jupyter及jupyterlab安装使用
一.jupyter安装及简单使用 Jupyther notebook(曾经的Ipython notebook),是一个可以把代码.图像.注释.公式和作图集于一处,实现可读性及可视化分析的工具,支持多种 ...
- JupyterLab安装地图插件
2019独角兽企业重金招聘Python工程师标准>>> JupyterLab安装地图插件 (本文所述软件还在发展之中,欢迎加入开源项目,提供建议.测试和开发.) 在Jupyter中进 ...
- Jupyterlab安装和配置
一.安装 step 1. 切换到要安装jupyterlab的虚拟环境 conda activate my_env step 2. 安装jupterlab(安装jupyterlab前需要安装nodejs ...
- Jupyterlab安装
Jupyter小结 安装JupyterLab 使用pip安装: pip install jupyterlab # 必须将用户级目录添加 到环境变量才能启动 pip install --userbinP ...
- 解决 jupyter-lab 安装插件后无法使用的问题(重新安装插件无法使用)
文章目录 解决方法 1. 检查插件状态 2. 直接删除 build_config.json 文件 3. 重启jupyter-lab 解决方法 1. 检查插件状态 在jupyter的代码框中运行: !j ...
- (Linux)JupyterLab安装anaconda+虚拟环境创建
注意 本教程适用环境(平台)特殊,为远程使用实验室服务器搭建的环境,非个人主机环境搭建,所以个人用户参考意义可能不大 1. 下载anaconda安装包:下载链接 或者下载miniconda安装包(推荐 ...
- Jupyterlab 安装配置手册
一. Jupyter Notebook 简介 Jupyter Notebook 是一个开源的 Web 应用程序,可以用来创建和共享包含动态代码.方程式.可视化及解释性文本的文档. 其应用于包括:数据整 ...
最新文章
- cwRsync文件双向同步问题
- insert 语句的选择列表包含的项多于插入列表中的项_如何定义和使用Python列表(Lists)
- Istio调用链埋点原理剖析—是否真的“零修改”?
- leetcode算法题--Word Search
- Anolis 安装图解
- amd r5 m330 linux驱动下载,AMDAMD Radeon(TM) R5 M330 14.502.1014.0000显卡驱动官方正式版下载,适用于win8.1-64-驱动精灵...
- 深圳软件开发向前跳转会略过一些节点
- python 驱动级鼠标_罗技各系鼠标测评(2020年12月更新)
- 博弈论 斯坦福game theory stanford week 2.1_
- 计算机网络实验报告 接墙上的,计算机网络实验报告模板.doc
- springboot+基于JavaWEB学生课程考试系统 毕业设计-附源码171548
- QT目录遍历(QDir)
- 【算法设计与分析】如何分析一个算法
- 南通市城管局推动“数字化城管”向“智慧城管”升级
- 【Windows远程连接】登录显示密码过期
- extern小结(转)
- 怎样用C语言sinx的曲线长度,Javascript 绘制 sin 曲线过程附图
- 达人评测 i5 1155G7和i5 1135G7的差距大不大
- 计算机硬件清单3000元,3000元锐龙apu电脑主机推荐ryzen5 2400G电脑配置清单
- 面向高维稀疏数据场景,阿里妈妈宣布开源XDL深度学习框架