您好,欢迎来到伴沃教育。
搜索
您的当前位置:首页jupyter lab 打开方式

jupyter lab 打开方式

来源:伴沃教育

Jupyter Lab 是 Jupyter Notebook 的下一代升级版,界面相对更友好,功能也更强大,更像一个IDE了。


0. 安装jupyterlab

pip install jupyterlab

1. jupyterlab的三种打开方式(windows)

1.1 命令行打开

在工作目录,打开命令行工具,输入:

jupyter lab
  • 注意,jupyter lab 会默认继承 jupyter notebook 的相关配置,如果之前有改过的话。

1.2 用bat文件打开

在工作目录,新建jupyter_lab.bat文件,文件内容填入:

jupyter lab

下次双击打开jupyter_lab.bat文件即可。

1.3 右键菜单打开

在右键菜单里添加 jupyter lab here按钮,方法如下:

  • 新建注册表文件jupyter lab here.reg,内容:
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\directory\background\shell\Jupyter Lab Here]
"icon"="C:\\Users\\xxxx\\python\\3.6.8\\Lib\\site-packages\\notebook\\static\\favicon.ico"

[HKEY_CLASSES_ROOT\directory\background\shell\Jupyter Lab Here\command]
@="C:\\Users\\xxxx\\python\\3.6.8\\Scripts\\jupyter-lab.exe"
  • favicon.ico,jupyter-lab.exe的路径按实际情况修改
  • 双击jupyter lab here.reg文件,注入注册表即可!

Copyright © 2019- bangwoyixia.com 版权所有 湘ICP备2023022004号-2

违法及侵权请联系:TEL:199 1889 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务