gpt4 book ai didi

c++ - Ubuntu 上 Jupyter 的 Cling 内核

转载 作者:塔克拉玛干 更新时间:2023-11-03 00:19:16 27 4
gpt4 key购买 nike

我按照 https://github.com/root-mirror/cling#jupyter 上给出的说明在我的笔记本电脑上使用 Ubuntu 15.04 构建了 Cling因为我想为 Jupyter 使用 Cling 内核。我安装了 Jupyter,我检查了 Cling 在我的 PATH 中,但是当我输入命令时

jupyter kernelspec install cling

我得到以下内容

OSError: [Errno 2] No such file or directory: 'cling'

有人知道发生了什么吗?

最佳答案

根据 the source code ,jupyter kernelspec install 命令需要包含内核规范文件 (kernel.json) 的目录路径作为参数。因此,如果你在 ~/cling/src 中克隆了 cling 存储库,这应该可以工作:

jupyter kernelspec install ~/cling/src/tools/cling/tools/Jupyter/kernel/cling

关于c++ - Ubuntu 上 Jupyter 的 Cling 内核,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35647998/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com