修改Jupyter Notebook默认路径

在Anaconda安装文件夹下找到etc文件下,再找到jupyter文件夹,最后找到jupyter_notebook_config.json文件(比如D:\application\Anaconda3\etc\jupyter)做如下修改:
在这里插入图片描述

{
  "NotebookApp": {
    "nbserver_extensions": {
      "jupyterlab": true
    },
	"notebook_dir":"D:\Jupyter"
  }
}

改完这一配置文件可能还不会生效,选择jupyter快捷方式(注意是新建环境下的jupyter)的属性,对属性中目标作如下修改:
在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/qq_33254870/article/details/84863431