Issue
On my Arch system I have installed jupyter-notebook version 6.4.4 and Code - OSS version 1.61.0. with Python (v2021.9.1246542782) extension and with Jupyter (v2021.9.100) extension.
When I try to open a .ipynb
file the program returns the following message:
Extension activation failed, run the 'Developer: Toggle Developer Tools' command for more information.
and will not execute the notebook.
If I then toggle the developer tools, what I find is a series of errors of the form:
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
Any suggestion is appreciated.
Solution
having the same issue, the only fix I find was to remove Code - OSS and install Microsoft branded version from AUR (https://aur.archlinux.org/packages/visual-studio-code-bin/)
Answered By - Lucho
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.