Jupyter notebook 关闭Jupyter笔记本电脑自动保存
在你标记这个有重复之前,我想指出我确实读过这里的帖子,所有的帖子都告诉我要在中更改代码Jupyter notebook 关闭Jupyter笔记本电脑自动保存,jupyter-notebook,jupyter,Jupyter Notebook,Jupyter,在你标记这个有重复之前,我想指出我确实读过这里的帖子,所有的帖子都告诉我要在中更改代码 ~/.jupter/custom/custom.js 但是,没有像custom这样的目录,也没有像custom.js 此外,如果我添加上述文件和代码,那么它也是自动保存的 非常感谢您的帮助 更新:jupyter版本为:4.3.0 操作系统:ubuntu16.04 通过pip安装将其放入custom.js: define([ 'base/js/namespace', 'base/js/even
~/.jupter/custom/custom.js
但是,没有像custom
这样的目录,也没有像custom.js
此外,如果我添加上述文件和代码,那么它也是自动保存的
非常感谢您的帮助
更新:jupyter版本为:4.3.0
操作系统:ubuntu16.04
通过pip安装将其放入
custom.js
:
define([
'base/js/namespace',
'base/js/events'
],
function(IPython, events) {
events.on("notebook_loaded.Notebook",
function () {
IPython.notebook.set_autosave_interval(0); //in milliseconds
}
);
//may include additional events.on() statements
}
);
我猜你试着重新启动了?您应该添加一些版本信息(jupyter--version)以及您正在使用的linux/mac/windows操作系统。如果你是用virtualenv或其他什么东西安装的,也可以。更新了帖子