可以在浏览器中打开Jupyter笔记本电脑,但无法在VSCODE中打开?

发布于 2025-01-25 12:55:59 字数 757 浏览 3 评论 0原文

我始终在Chrome笔记本中使用Jupyter笔记本电脑,并且发现我可以使用VSCODE实现开放式Jupyter并想尝试。 因此,我在Win10系统中使用Anaconda来创建Jupyter笔记本,并且检查可以在浏览器中打开。 然后,我在Vscode中使用此命令

ctrl+shift+P

,然后单击“ Jupyter:为连接指定Jupyter Server”行。然后将带有令牌的jupyter链接放入“现有”并输入,但是即使没有错误也没有发生。

更多信息:

  1. 我在Vscode中安装Jupyter扩展名,例如“ Jupyter”,“ Jupyter Keymap”和“ Jupyter Notebook渲染器”

  2. 我可以使用ssh链接到我的远程Linux服务器,然后打开远程.ipynb文件,然后在我的vscode中打开i iipynb文件。可以编辑和运行代码。

我正在使用:Anaconda 3 VS代码1.66.2 Windows 10。请帮助,如果需要更多信息,请告诉我。

对不起,没有照片,因为我的声誉不足。我在youtube中上传视频( https://youtu.be/p_tycek9dki )。 我猜Vscode中的Jupyter不能用作浏览器中的Jupyter吗? (对于我关闭VScode时的变量消失)

I always use jupyter notebook in my chrome notebook, and I find I can use vscode to achieve open jupyter and want to try it.
So I use the anaconda in my WIN10 system to create a jupyter notebook, and I check it's okay to open in my browser.
Then I use this command in my vscode

ctrl+shift+P

and then click the line "jupyter: specify the jupyter server for connection". Then put the jupyter link with token into the "Existing" and enter, but nothing happens even without a error.

More information:

  1. I install the jupyter extensions in my vscode, like the "Jupyter","Jupyter keymap" and "Jupyter notebook renderers"

  2. I can use SSH link to my remote linux server and open the remote .ipynb files in my vscode then I can edit and run code.

I am using: anaconda 3 vs code 1.66.2 windows 10. Please help, and let me know if any more information is required.

Sorry for no pictures as I have not enough reputation. I upload a video in Youtube (https://youtu.be/p_TYceK9dkI).
I guess Jupyter in vscode can not used as Jupyter in browser? (for the variables vanished when I close my vscode)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

記憶穿過時間隧道 2025-02-01 12:55:59

您应该安装Jupyter笔记本电脑扩展名,以便可以在VSCODE上运行Jupyter。

You should install jupyter notebook extension so that you can run jupyter on vscode.
enter image description here

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文