简体   繁体   English

vscode 中的 Jupyter Notebook 问题(所选解释器中未安装内核规范模块)

[英]Jupyter Notebook issue in vscode (kernelspec module not installed in the selected interpreter)

So, I was trying to use a jupyter notebook in VScode but it suddenly stopped working.所以,我试图在 VScode 中使用 jupyter notebook,但它突然停止工作。 I've verified my jupyter version:我已经验证了我的 jupyter 版本:

jupyter core     : 4.7.0
jupyter-notebook : 6.1.5
qtconsole        : 4.7.7
ipython          : 7.19.0
ipykernel        : not installed
jupyter client   : not installed
jupyter lab      : not installed
nbconvert        : not installed
ipywidgets       : not installed
nbformat         : 5.0.8
traitlets        : 5.0.5

Alhto, when I try to install ipykernel or jupyter lab, my cmd returns that the requirements are already met. Alhto,当我尝试安装 ipykernel 或 jupyter lab 时,我的 cmd 返回要求已经满足。 What should I do?我该怎么办?

DataFox数据狐

There has been some issues with VSCode and Jupyter for me aswell recently.最近对我来说 VSCode 和 Jupyter 也出现了一些问题。 Normally these sorts of things you have to quit VSCode and restart it.通常这些事情你必须退出 VSCode 并重新启动它。 If this doesn't work, you can try to copy and paste all your work/code into another .ipynb file.如果这不起作用,您可以尝试将所有工作/代码复制并粘贴到另一个.ipynb文件中。 This worked for me.这对我有用。

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

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