1.首先打开你想要设置的路径,右键属性查看自己的绝对路径 上级目录文件夹+名称
我这路径为’/home/wsml1933/learn/learncache/jupyter’
2.打开终端输入以下命令生成配置文件
jupyter-notebook --generate-config
3.打开配置文件:(这里我用的vi打开)
vi ~/.jupyter/jupyter_notebook_config.py
我这路径为’/home/wsml1933/learn/learncache/jupyter’
jupyter-notebook --generate-config
vi ~/.jupyter/jupyter_notebook_config.py