gpt4 book ai didi

python - Jupyter 服务器崩溃。无法连接。来自 jupyter : 1"的错误代码

转载 作者:行者123 更新时间:2023-12-03 23:10:40 25 4
gpt4 key购买 nike

尝试在 VS Code 中运行 python 交互式窗口时,我不断收到此错误消息。我已经在另一台笔记本电脑上尝试过这个没有问题,但由于某种原因,它发生在我的另一台笔记本电脑上。错误信息是:

"Executing code failed : Error: Jupyter server crashed. Unable to connect. 
Error code from jupyter: 1"

我试过卸载 VS Code,卸载 python 扩展,在线研究错误代码,但没有运气。

最佳答案

我有一个类似的问题。我必须在 VSCODE 命令面板中配置一个设置。

"Python: Select Interpreter to Start Jupyter server"



并选择安装了 Jupyter 的环境,以允许 vscode 启动服务器。

https://github.com/microsoft/vscode-python/issues/11048 (见4月9日评论)

关于python - Jupyter 服务器崩溃。无法连接。来自 jupyter : 1"的错误代码,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57983475/

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