gpt4 book ai didi

python - jupyter 服务器 : not started, vs 代码中没有内核

转载 作者:行者123 更新时间:2023-12-01 09:40:56 25 4
gpt4 key购买 nike

我正在尝试使用 vs 代码中的 jupyter 笔记本并安装了 jupyter 笔记本扩展,我正在使用(基础)conda 环境进行执行。
当这发生时

错误:无法启动 Jupyter。尝试定位 jupyter 时出错:
在 A.startServer (c:\Users\DELL.vscode\extensions\ms-python.python-2020.2.63990\out\client\extension.js:1:784356)
在异步 A.ensureServerAndNotebookImpl (c:\Users\DELL.vscode\extensions\ms-python.python-2020.2.63990\out\client\extension.js:1:783811)
在异步 A.ensureServerAndNotebook (c:\Users\DELL.vscode\extensions\ms-python.python-2020.2.63990\out\client\extension.js:1:783612)
在异步 A.submitCode (c:\Users\DELL.vscode\extensions\ms-python.python-2020.2.63990\out\client\extension.js:1:780564)
在 async A.reexecuteCell (c:\Users\DELL.vscode\extensions\ms-python.python-2020.2.63990\out\client\extension.js:75:879318)

status of jupyter notebook

如何解决这个问题?

最佳答案

当我安装 Visual Studio Code 并尝试在我的新 Ubuntu 18.04 上从 jupyter notebook 运行一些 Python 代码时,我遇到了完全相同的问题。

我是如何解决的:

1) 按 Command+Shift+P打开一个新的命令面板

2) 输入 >Python: Select Intepreter to start jupyter notebook server
3)再次打开笔记本

它工作得很好。希望对你有效。

关于python - jupyter 服务器 : not started, vs 代码中没有内核,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60330837/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com