简体   繁体   English

删除由 VSCode 在 Jupyter 中创建的“Python Interactive”环境?

[英]Delete 'Python Interactive' environment created by VSCode inside Jupyter?

I ran some jupyter notebook using VSCode.我使用 VSCode 运行了一些 jupyter notebook。 However, VSCode created some 'Python Interactive' environment which appears in my Jupyter Notebook.但是,VSCode 创建了一些“Python Interactive”环境,出现在我的 Jupyter Notebook 中。 How do I remove them?如何删除它们? 在此处输入图像描述

Sorry that's a bug in the python extension.抱歉,这是 python 扩展中的错误。

To delete them you can follow the directions here: remove kernel on jupyter notebook要删除它们,您可以按照此处的说明进行操作: remove kernel on jupyter notebook

They're just json files in a directory that Jupyter maintains.它们只是 Jupyter 维护的目录中的 json 文件。 The VS Code python extension created them to get our kernel to work. VS Code python 扩展创建了它们以使我们的 kernel 工作。

If you still see these after deleting using jupyter kernelspec uninstall unwanted-kernal , you can clear these by uninstalling and then reinstalling your Jupyter extension in VSCode.如果您在使用jupyter kernelspec uninstall unwanted-kernal删除后仍然看到这些,您可以通过卸载然后在 VSCode 中重新安装 Jupyter 扩展来清除这些。

In VSCode, click the 'extensions' icon, then search 'Jupyter'.在 VSCode 中,单击“扩展”图标,然后搜索“Jupyter”。 Uninstall it.卸载它。 Then install it.然后安装它。

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

相关问题 VSCode 中 jupyter notebook 中的交互式 python 3d 绘图 - Interactive python 3d plot in jupyter notebook within VSCode VSCode 中的交互式 Jupyter 小部件与 ms-python 2018.10.1 - Interactive Jupyter widgets in VSCode with ms-python 2018.10.1 VSCode Jupyter:有没有办法让 python 交互式窗口作为默认控制台工作? - VSCode Jupyter: is there a way to make python interactive window work as default console? VSCode Python Interactive Window - 如何停止 Jupyter 服务器? - VSCode Python Interactive Window - how to stop Jupyter server? 使用`python -m venv myvenv`创建的虚拟环境中位于ipython / jupyter的配置文件在哪里? - Where is ipython/jupyter config file located inside virtual environment created using `python -m venv myvenv`? 你如何在Vscode上改变Python Interactive的环境? - How do you change environment of Python Interactive on Vscode? vscode python 带Jupyternote书共享环境的交互终端 - Vscode python interactive terminal with shared environment with Jupyternote book 摆脱 VSCode 交互式 Python 环境中的 unicode 字符 - Get rid of unicode characters in VSCode Interactive Python Environment VSCode 中的 Python/Jupyter 笔记本没有使用正确的环境 - Python/Jupyter notebook in VSCode does not use the right environment vscode Python交互中的交互模式 - Interactive mode in vscode Python interactive
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM