Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我新安装了 Anaconda (v.4.3.1) 并使用 conda 命令在 Jupyter 上为 C++ 内核安装 cling。我用了conda install -c conda-forge cling=0.3.post
conda install -c conda-forge cling=0.3.post
我在 Windows 8.1 上。我似乎找不到有关如何解决此问题的答案:打开带有任何 C++11、C++14 或 C++17 内核的笔记本时出现“死内核”错误。安装后我根本无法使用 c++ 内核。Python3 内核工作得很好。下面是我得到的错误的截图。
死内核:错误消息截图
对于未来的错误:查看启动笔记本服务器时打开的控制台窗口。这将报告 Python 异常。
对于这种情况,我想你发现了我最近发现的:cling 的 Jupyter 内核目前不能在 Windows 上运行。它使用 fcntl 模块使管道用于输入/输出非阻塞。fcntl 仅适用于 *nix 操作系统。你必须等到他们改变它。