“Dead Kernel” Anaconda-Jupyter Cling C++ Windows

你。 提交于 2019-12-13 15:30:46

问题


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

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.

Dead Kernel: Error Message Screenshot


回答1:


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

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.



来源:https://stackoverflow.com/questions/43899636/dead-kernel-anaconda-jupyter-cling-c-windows

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!