mac 更新jupyter默认配置路径 在cmd下输入下面的命令,找到jupyter配置文件 jupyter notebook --generate-config 输入y会进入默认配置,输入n不生效,然后鼠标移到jupyter_notebook_config.py按住comman健可以直接打开文件 打开文件后查关键词notebook_dir配置右边的路径保存即可 ## The directory to use for notebooks and kernels. c.NotebookApp.notebook_dir = '/Users/maytone/Documents'