简体   繁体   English

VSCode 中缺少 Jupyter Notebook 内核

[英]Missing Jupyter Notebook Kernels in VSCode

I have multiple people working on the same AWS EMR cluster to run some Spark jobs.我有多个人在同一个 AWS EMR 集群上工作以运行一些 Spark 作业。 This is being done through Jupyter Notebooks which are created/modified using the Jupyter extension installed on a SSH Target through vscode.这是通过 Jupyter 笔记本完成的,这些笔记本是使用通过 vscode 安装在 SSH 目标上的 Jupyter 扩展创建/修改的。 The modules are installed on the base conda environment that is included with the /emr/notebook-env/.这些模块安装在 /emr/notebook-env/ 中包含的基本 conda 环境中。 Some people can see the correct kernel that is associated with the base conda environment in their vscode window when working on notebooks.有些人在笔记本上工作时可以在他们的 vscode window 中看到与基础 conda 环境关联的正确 kernel。 However, some don't see this kernel as an option.但是,有些人不认为这个 kernel 是一个选项。 How do I make sure that everyone's vscode lists the appropriate kernel when they are creating new notebooks or modifying existing notebooks?我如何确保每个人的 vscode 在创建新笔记本或修改现有笔记本时列出适当的 kernel?

The user having the issue had to update their vscode and that fixed the issue遇到问题的用户必须更新他们的 vscode 并解决问题

Another potential reason this could happen is that the Jupyter exentsion of VSCode is not installed.发生这种情况的另一个潜在原因是未安装VSCode 的 Jupyter 扩展

To add the Jupyter extension for VSCode, search for it by clicking extensions icon in lefthand toolbar, then searching for Jupyter and installing.要为 VSCode 添加 Jupyter 扩展,请通过单击左侧工具栏中的扩展图标搜索它,然后搜索 Jupyter 并安装。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM