电脑环境:Anaconda 3,win10。
一、添加jupyter_notebook_config.py配置文件
同时按两个按钮:windows+R
输入:cmd
命令行中输入 jupyter notebook --generate-config
本人已经配置了,会弹确认。未配置则会直接在C:\Users\“计算机名”.jupyter 下产生一个配置文件jupyter_notebook_config.py
二、在jupyter_notebook_config.py文件中配置工作文件保存的路径
记事本打开jupyter_notebook_config.py文件,“ctrl+F”查找c.NotebookApp.notebook_dir,未修改前为: