安装完 anaconda ,在jupyter notebook 中创建的文件的默认保存位置为C:\User\电脑名

修改保存位置

1、打开 anaconda prompt

怎么修改Anaconda 中 jupyter notebook 文件的保存位置

2、输入 jupyter notebook --generate-config

怎么修改Anaconda 中 jupyter notebook 文件的保存位置

3、按照上图中的路径,找到 jupyter_notebbook_config.py 文件,找到 c:NotebookApp.notebook_dir 这个变量,将你设置的路径卸载这里,用引号引起来,并删除注释

4、完成上面的步骤,接下来通过 jupyter notebook进入属性,删除 %USERPROFILE%

 怎么修改Anaconda 中 jupyter notebook 文件的保存位置

5、大功告成。

 

相关文章:

  • 2021-11-19
  • 2021-04-04
  • 2021-04-05
  • 2021-09-09
  • 2022-12-23
  • 2021-04-06
猜你喜欢
  • 2021-12-02
  • 2021-11-23
  • 2022-01-11
  • 2022-12-23
  • 2022-12-23
  • 2021-07-04
  • 2021-09-04
相关资源
相似解决方案