加载预加载时出错:无法获取动态导入的模块:

Vis*_*ana 12 visual-studio jupyter visual-studio-code jupyter-notebook

在 VS Code 上运行 Jupyter 笔记本单元时,它会抛出此错误

Error loading preloads: 

 -  Failed to fetch dynamically imported module: https://file+.vscode-resource.vscode-webview.net/c%3A/Users/Acer/.vscode/extensions/ms-toolsai.jupyter-2021.9.1101343141/out/datascience-ui/errorRenderer/errorRenderer.js
Run Code Online (Sandbox Code Playgroud)

它之前工作得很好,但不知何故它现在抛出错误并且不显示笔记本中的错误。

小智 8

罪魁祸首是 Jupyter Notebook Renderers 扩展 v 1.0.4 .....回滚 v 1.0.3 解决了这个问题。

  • 要回滚,请转到“扩展”面板,找到 Jupyter Notebook 渲染器并选择“安装其他版本”选项。 (2认同)