jupyter lab 默认的工作目录是安装位置,如果想更改到其他盘,则在终端使用命令:jupyter lab --generate-config
会显示出jupyter lab的配置文件位置,此时找到工作目录位置,改到自己想存储的位置即可。
## The directory to use for notebooks and kernels.
c.NotebookApp.notebook_dir = 'E:\Workspaces\jupyterLab'
本文介绍如何修改JupyterLab的默认工作目录。通过使用特定命令生成配置文件,用户可以轻松地将工作目录更改为自定义位置,如E:WorkspacesjupyterLab,从而方便管理和组织个人项目。
jupyter lab 默认的工作目录是安装位置,如果想更改到其他盘,则在终端使用命令:jupyter lab --generate-config
会显示出jupyter lab的配置文件位置,此时找到工作目录位置,改到自己想存储的位置即可。
## The directory to use for notebooks and kernels.
c.NotebookApp.notebook_dir = 'E:\Workspaces\jupyterLab'
1814
1941
1376
3211