简体   繁体   English

为什么我的 jupyter kernel 在 vs code jupyter 扩展中不可见?

[英]Why my jupyter kernel is not visible in vs code jupyter extension?

I have my pyspark kernel installed using sparkmgic, it is showing in jupyter notebook and worked fine (connected to remote livy service and ran code without any issues).我使用 sparkmgic 安装了 pyspark kernel,它在 jupyter 笔记本中显示并且工作正常(连接到远程 livy 服务并运行代码没有任何问题)。 It is also visible when I use jupyter kernelspec list command, but when I tried to use vs code jupyter extension, it is not showing in the kernel list.当我使用jupyter kernelspec list命令时它也是可见的,但是当我尝试使用 vs code jupyter 扩展时,它没有显示在 kernel 列表中。

What is the reason it could be?可能是什么原因? how to fix it?如何解决?

Thanks!谢谢!

https://github.com/microsoft/vscode-jupyter/issues/8286 Got the answer from the one of code contributors on Github. https://github.com/microsoft/vscode-jupyter/issues/8286从 Github 上的一位代码贡献者那里得到了答案。

Just need to put python full path in the kernel configuration json file.只需要在kernel配置json文件中放入python全路径即可。

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

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