本文介绍了“死核" Anaconda-Jupyter Cling C ++ Windows的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我新安装了Anaconda(v.4.3.1),并使用conda命令在Jupyter上安装了C ++内核的保鲜膜.我用conda install -c conda-forge cling=0.3.post

I newly installed Anaconda (v.4.3.1) and used a conda command to install cling for a C++ kernel on Jupyter. I used conda install -c conda-forge cling=0.3.post

我在Windows 8.1上.我似乎找不到解决该问题的答案:打开带有任何C ++ 11,C ++ 14或C ++ 17内核的笔记本时,出现死内核"错误.安装后,我根本无法使用c ++内核. Python3内核完全可以正常工作.下面是我收到的错误的屏幕截图.

I am on Windows 8.1. I can't seem to find an answer on how to resolve this: I'm getting a 'Dead Kernel' error upon opening a notebook with any C++11, C++14 or C++17 kernel. I have not at all been able to use the c++ kernels after installation. Python3 kernel works completely fine. Below is a screenshot of the error I get.

死内核:错误消息屏幕截图

推荐答案

对于将来的错误,请执行以下操作:查看启动笔记本计算机服务器时打开的控制台窗口.这将报告Python异常.

For future errors: look at the console window that opens up when you start the notebook server. That will report Python exceptions.

对于这种情况,我认为您找到了我最近发现的内容:cling的Jupyter内核当前在Windows上不起作用.它使用fcntl模块来制作用于输入/输出非阻塞的管道. fcntl仅适用于* nix操作系统.您必须等待,直到他们对其进行更改.

For this case, I think you found what I recently discovered: cling's Jupyter kernel does not currently work on Windows. It uses the fcntl module to make pipes it uses for input/output non-blocking. fcntl only works with *nix operating systems. You'll have to wait until they change it up.

这篇关于“死核" Anaconda-Jupyter Cling C ++ Windows的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-03 21:47