MacBook Ai上jupyter的cling内核

2024-05-16 04:41:00 发布

您现在位置:Python中文网/ 问答频道 /正文

我在我的macbookair(2013年年中,macOS10.12.4)上构建了cling。 我的jupyter版本是4.3.0。在

我按照https://github.com/vgvassilev/cling/tree/master/tools/Jupyter上的说明进行操作,安装没有出现错误。在

然而,当我试图用c++(17,14,11)内核创建一个新的ipynb时,我得到了以下结果

[IPKernelApp] CRITICAL | Bad config encountered during initialization:
[IPKernelApp] CRITICAL | The 'stdin_port' trait of an IPKernelApp instance must be an int, but a value of 'c++17' <class 'str'> was specified.

我去https://ipython.org/ipython-doc/3/config/options/kernel.html检查了项目'IPKernelApp.stdin_端口'并且理解(我认为是)错误的字面意思,但我不知道如何修正它。在

有人知道怎么解决这个问题吗?在


Tags: ofhttps版本githubcomanconfig错误