Is there a way to disable saving to checkpoints for Jupyter Notebooks?

前端 未结 2 1427
盖世英雄少女心
盖世英雄少女心 2021-02-20 04:19

I am working in an environment where writing to the disk space with a folder name like .ipynb_checkpoints is disallowed.

Unfortunately, this is Jupyter Noteb

2条回答
  •  不知归路
    2021-02-20 04:36

    Not exactly an answer to your question, but perhaps close enough.

    The path of the checkpoints folder is configurable so you could rename it to something allowed such as "_ipynb_checkpoints", or you could move it to a completely different folder.

    You simply have to add

    c.FileCheckpoints.checkpoint_dir = '_ipynb_checkpoints'
    

    to jupyter_notebook_config.py

提交回复
热议问题