学习笔记,仅供参考,有错必纠
- 得到jupyter notebook配置文件地址
cmd中键入:
jupyter notebook --generate-config
得到配置文件地址:
Writing default config to: C:\Users\apple\.jupyter\jupyter_notebook_config.py
- 按照地址打开配置文件,并修改配置文件
将:
## The directory to use for notebooks and kernels.
#c.NotebookApp.notebook_dir = ''
修改为:
## The directory to use for notebooks and kernels.
c.NotebookApp.notebook_dir = 'D:/MyStudio/JupyterNotebook'
地址为我的jupyter notebook工作站地址。
- 再次打开jupyter notebook
在任意目录下,通过cmd打开jupyter notebook:
jupyter notebook
打开目录依然是我们在配置文件中指定的目录。