Jupyter笔记本电脑信号仅在主线程中起作用

时间:2018-08-10 15:59:21

标签: python jupyter-notebook jupyter

每当我在jupyter中运行python时,都会得到以下提示: ValueError:信号仅在主线程中起作用

enter image description here

3 个答案:

答案 0 :(得分:12)

为我工作-Windows 10. Jupyter Lab

pip install --upgrade ipykernel

答案 1 :(得分:1)

仅在降级为龙卷风5.1.1时有效,

然后: pip install pip --upgrade,

pip install-升级笔记本

我有python 3.6.8和MAC

答案 2 :(得分:0)

我在python 3.7中使用anaconda。为jupyter更新龙卷风软件包对我有用:

conda install tornado --update

在此帖子中找到答案: Jupyter Notebook dead Kernel after Anaconda update