【问题标题】:Failed to start the Kernel - Jupyter in VS Code无法启动内核 - VS Code 中的 Jupyter
【发布时间】:2022-01-27 01:27:54
【问题描述】:

我正在尝试将 Jupyter 笔记本用于 VS Code 中的一些 Pandas。我设置了一个虚拟环境 venv,我在其中安装了 Pandas 和 jupyter。我总是这样做,而且效果很好。但是突然之间它不再起作用了。 Code with error message

【问题讨论】:

    标签: python pandas visual-studio-code jupyter


    【解决方案1】:

    您可以尝试重新安装pyzmq 模块吗?

    pip uninstall pyzmq
    pip install pyzmq==19.0.2
    

    【讨论】:

    • 成功了!谢谢!
    【解决方案2】:

    解决方法是在单独的终端中运行内核(使用jupyter notebook 命令),并从 VS Code 连接到该内核(单击“Jupyter 服务器:本地”并从列表)。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-11-02
      • 2018-06-29
      • 1970-01-01
      • 2021-02-13
      相关资源
      最近更新 更多