首页 > 解决方案 > Jupyter Notebook 打开一个空的浏览器

问题描述

在我安装 python 3.6 并更新所有(conda update --all)之前,我的 Jupyter Notebook 刚刚停止工作。当我启动它时,只会出现一个空的浏览器页面。我尝试了所有找到的解决方案,但它们不起作用。我已删除 %USERBLABLA%,清除缓存和 cookie,卸载并重新安装它仍然无法正常工作。浏览器控制台打印此错误:

Refused to execute script from '<URL>' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled

Uncaught ReferenceError: require is not defined
at VM17 tree:24

标签: pythonanacondajupyter-notebook

解决方案


您应该检查 Anaconda Navigator 上的 Notebook 版本。如果是 5.7.6,那么您应该使用 Anaconda Navigator 将笔记本的版本降级到 5.7.4。


推荐阅读