gpt4 book ai didi

c# - 在Binder主持的Jupyter上设置C#和F#笔记本

转载 作者:行者123 更新时间:2023-12-02 19:22:13 26 4
gpt4 key购买 nike

大家好,我想使用新的.NET Jupyter笔记本,因此我准备了一个gitt的存储库,其中包含dockerfile(是正确的)和NuGet.config文件,例如:

here the tuto

一切都还好,但是当想要使用我的C#或f#内核时,就没有办法了,因为它不存在!

enter image description here

但是,如果我在docker镜像上看到日志:

DockerFile

所以我的DockerFile是正确的,但是它无法加载到网络上,而且conda还给我提供了本地可用的可用文件:

enter image description here

我的问题是Jupyter是否不允许您使用dotnet命令我将如何安装它?-从您的Docker镜像中获取。
是的,但根本不行,因为它已成功构建但未加载?路径是否错误?
有没有办法告诉jupyter像“请看这里”这样的字眼??

编辑:

So if you check the place where it looks for kernel theres only one

因此,如果您检查查找内核的位置,则只有一个。

要手动执行,但不确定... session 结束后会丢失吗?

最佳答案

好的,我已修复,在活页夹文档中明确存在一个问题:

Here’s an example of a Dockerfile FROM statement that would work.

FROM jupyter/scipy-notebook:cf6258237ff9

The following examples would not work:

FROM jupyter/scipy-notebook
or
FROM jupyter/scipy-notebook:latest


因此,您需要指定一个具体的图像,而我使用的是最后更新的图像:
enter image description here

这就是必须启动dockerfile的方式(不一定?但是对我有用)
FROM jupyter/scipy-notebook:45f07a14b422

它会正确构建它,而不会出现问题。当您单击徽章时,它将显示:
enter image description here

关于c# - 在Binder主持的Jupyter上设置C#和F#笔记本,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58819823/

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