-
win+R,输入cmd,然后输入: jupyter-lab --generate-config,即可出现jupyter_lab_config所在的路径
-
打开jupyter_lab_config.py文件,查找“The directory”,查找到## The directory to use for notebooks and kernels代码段,在 # c.ServerApp.root_dir = ''代码后,c.ServerApp.root_dir = ‘jupyter lab默认启动位置’
之后再次打开jupyter-lab,便会默认启动你设置好的位置
设置jupyter lab默认启动路径
最新推荐文章于 2024-06-11 21:36:31 发布