美文网首页
修改Jupyter工作目录

修改Jupyter工作目录

作者: allenjcheng | 来源:发表于2019-06-19 16:47 被阅读0次

打开 Powershell命令窗口

使用jupyter notebook --generate-config指令获取当前Jupyter路径

目前的路径在C:\Users\AllenCheng\.jupyter\jupyter_notebook_config.py

打开jupyter_notebook_config文件

打开文件找到c.NotebookApp.notebook_dir定义 Jupyter notebook工作路径如下:

c.NotebookApp.notebook_dir = 'D:\\Workspace'

路径 D:\\Workspace 需要提前创建

然后保存 重新打开Jupyter

相关文章

网友评论

      本文标题:修改Jupyter工作目录

      本文链接:https://www.haomeiwen.com/subject/rawkqctx.html