JupyterLab中Kernel相关使用技巧和报错解决

感觉JupyterLab使用的人还是比较少,大家都很喜欢Jupyter Notebook,然后Lab的推广做的也就一般,还没有在Annaconda中默认安装,所以有时候遇到什么坑就很头疼。

原本像往常一样,在cmd里敲击jupyter lab启动,可是不知为啥,一夜之间突然报错说找不到Kernel?!

什么是Kernel呢?

A ‘kernel’ is a program that runs and introspects the user’s code.
IPython includes a kernel for Python code, and people have written
kernels for several other languages.

When Jupyter starts a kernel, it passes it a connection file. This
specifies how to set up communications with the frontend.

就是你用的编译器,一般是python,当然也可以是R等等。一般显示在你Jupyter Notebook/Lab界面的左上角和右下角。

为什么Kernel会出问题?

一般比较新的系统都会默认有一个python的编译器,可以用where pythoncmd中查看,然后which python则会显示你现在默认的编译器是哪个。

然而,因为各种包的兼容问题和版本问题,我们往往在电脑上会需要

  • 1
    点赞
  • 14
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值