gpt4 book ai didi

python - 代码OSS不执行Jupyter notebook

转载 作者:行者123 更新时间:2023-12-05 05:55:10 25 4
gpt4 key购买 nike

在我的 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

如有任何建议,我们将不胜感激。

最佳答案

您可以使用命令code --enable-proposed-api ms-toolsai.jupyter 启动code oss。

它在 oss 1.66 中工作

关于python - 代码OSS不执行Jupyter notebook,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/69524226/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com