python - 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
解决方案
您应该检查 Anaconda Navigator 上的 Notebook 版本。如果是 5.7.6,那么您应该使用 Anaconda Navigator 将笔记本的版本降级到 5.7.4。
推荐阅读
- xacml - 比较 XACML 策略中的两个多元素属性
- python-3.x - 让 pyodbc 在 AWS Lambda 层中连接
- firebase - 我可以使用 Firebase Auth 保护我的云功能,但不使用可调用的云功能。(仅限 HTTP 请求)
- javascript - 无法在反应中读取未定义的属性
- windows - 在 Delphi 组件之间移动控件
- arrays - 使用 javascript/typescript 从数组中过滤重复值
- .net - NPV 总计将使用 Microsoft Excel 中的计算
- html - 使用 Tab 键(仅 Firefox)从 iframe 到父级的光标“无法退出”
- javascript - 登录服务的动态侧边菜单列表
- r - 在 r 中从 lm 和 glm 获得完全相等的预测