在我的Arch系统上,我安装了jupyter-notebook版本6.4.4和Code - OSS版本1.61.0。使用Python (v2021.9.1246542782)扩展和Jupyter (v2021.9.100)扩展。
当我尝试打开.ipynb文件时,程序返回以下消息:
Extension activation failed, run the 'Developer: Toggle Developer Tools' command for more information.并且不会执行该笔记本。
如果我随后切换开发人员工具,我会发现表单中出现了一系列错误:
Error: Unable to read file '/usr/lib/code/extensions/markdown-language-features/notebook-out/index.js' (Error: Unable to resolve nonexistent file '/usr/lib/code/extensions/markdown-language-features/notebook-out/index.js')
GET https://file+.vscode-resource.vscode-webview.net/usr/lib/code/extensions/markdown-language-features/notebook-out/index.js net::ERR_ABORTED 404
Uncaught (in promise) TypeError: Failed to fetch dynamically imported module: https://file+.vscode-resource.vscode-webview.net/usr/lib/code/extensions/markdown-language-features/notebook-out/index.js
Uncaught (in promise) TypeError: Failed to fetch dynamically imported module: https://file+.vscode-resource.vscode-webview.net/usr/lib/code/extensions/markdown-language-features/notebook-out/index.js任何建议都是值得感谢的。
发布于 2021-10-15 11:07:42
有同样的问题,我找到的唯一修复是删除代码操作系统,并安装微软品牌版本从AUR (https://aur.archlinux.org/packages/visual-studio-code-bin/)
发布于 2021-10-25 17:04:37
我从Pacman ==>上安装了代码1.61.0,但没有工作。
版本: 1.61.0提交日期: 2021-10-10T18:20:55.439Z电子: 13.5.2 Chrome: 91.0.4472.164 Node.js: 14.16.0 V8: 9.1.269.39-electron.0操作系统: Linux x64 5.14.12-arch1-1
然后安装来自aur ==> works的代码1.61.2。
版本: 1.61.2提交: 6cba118ac49a1b88332f312a8f67186f7f3c1643日期: 2021-10-19T14:58:13.605Z电子: 13.5.1 Chrome: 91.0.4472.164 Node.js: 14.16.0 V8: 9.1.269.39-electron.0操作系统: Linux x64 5.14.12-arch1-1
发布于 2021-11-07 23:33:25
这个问题应该在Code - OSS版本1.62中修复,该版本现在可以在官方Arch存储库中获得。
https://stackoverflow.com/questions/69524226
复制相似问题