生成配置文件
jupyter-notebook –generate-config
在配置文件中添加工作路径
打开编辑文件
gedit ~/.jupyter/jupyter_notebook_config.py
修改自己的jupyter工作路径
# c.NotebookApp.notebook_dir = ''
c.NotebookApp.notebook_dir = '/home/junli/codes/Jupyter_projects'
jupyter-notebook –generate-config
打开编辑文件
gedit ~/.jupyter/jupyter_notebook_config.py
修改自己的jupyter工作路径
# c.NotebookApp.notebook_dir = ''
c.NotebookApp.notebook_dir = '/home/junli/codes/Jupyter_projects'
本文标题:环境搭建05-Ubuntu16.04更改Jupyter的工作路径
本文链接:https://www.haomeiwen.com/subject/bomfektx.html
网友评论