jupyter RuntimeError: Kernel died before replying to kernel_info

打开新的窗口,设置新的工作区配置文件,只修改这一项:

// 将设置放入此文件中以覆盖默认值和用户设置。
{
    "python.pythonPath": "../Anaconda安装路径/python.exe"

}

再运行jupyter。如果没问题说明原kernel的错误不是Anaconda版本的问题。


可能之前使用Python 2的语法写的代码,而使用jupyter kernel运行时,由于kernel是Python 3 所以出错?还是测试pytest等visual studio code的Python拓展配置没做好?

原文地址:https://www.cnblogs.com/logmopeng/p/7439903.html