欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

jupyter notebook无法shutdown运行的文件

程序员文章站 2022-05-29 09:49:32
...

问题

  • 无法关闭正在运行的文件
    jupyter notebook无法shutdown运行的文件

解决

  • 环境: Anaconda
  • 文件路径/root/anaconda3/lib/python3.7/site-packages/notebook/static/tree/js/main.min.js
  • 打开main.min.js文件
.click(function() {
                var path = $(this).parent().parent().parent().data('path');
                that.shutdown_notebook(path);
            }

修改以上代码:

 .click(function() {
        var path = $(this).parent().parent().parent().parent().data('path');
        that.shutdown_notebook(path);
    })
  • 重启jupyter notebook

GitHub参考链接
CSDN参考链接

相关标签: # python环境