Jupyter 启动内核失败,系统调用参数地址错误

问题描述 投票:0回答:0

enter image description here

Failed to start the Kernel. 

Failed to start the Kernel 'db_env (Python 3.10.12)'. 

View Jupyter log for further details. listen EFAULT: bad address in system call argument 127.0.0.1:9000

运行 ipynb 代码没问题,直到我遇到另一个错误消息 “zmq.error.ZMQError:地址错误(addr='tcp://127.0.0.1:9003')。”

在修复错误期间,我更改了 VSC 设置,如下所示, enter image description here

    "jupyter.jupyterCommandLineArguments": [
        "--port=9000"
    ]

(这样做之后,原本运行正常的Python代码也开始无法启动内核了)

并在 anaconda 提示符中做更多的事情,我记不清了(对此感到抱歉)。

我想也许 anaconda env 是该错误的原因,因此创建了新的 env 但我在 VSC 中单击了“选择另一个内核...”,永久查看此缓冲区 enter image description here

系统路径,内核安装,VSC重启,检查jupyter包的安装, 所有这些事情都经过检查

如何解决这个问题?请告诉我更多相关信息。谢谢你

python jupyter-notebook kernel
© www.soinside.com 2019 - 2024. All rights reserved.