配置的详细blog请参考这里
自2019年11月起,在jupyter中已经可以写F#和C#了。
In November 2019, we announced .NET support for Jupyter notebooks with both C# and F# support.
如何配置呢?
一、安装: .NET 3.1 SDK
在这里插入图片描述 在这里插入图片描述二、安装Anaconda【包含python和jupyter】本机已装
下载地址:Anaconda | Individual Edition
image.png三、安装:Microsoft.dotnet-interactive
- 在Anaconda Promtp中输入以下命令:
dotnet tool install --global Microsoft.dotnet-interactive
已成功安装工具“microsoft.dotnet-interactive”(版本“1.0.260601”)。
- 安装 .NET kernel
dotnet interactive jupyter install
- 验证安装
jupyter kernelspec list
Available kernels:
.net-csharp C:\Users\dengz\AppData\Roaming\jupyter\kernels.net-csharp
.net-fsharp C:\Users\dengz\AppData\Roaming\jupyter\kernels.net-fsharp
.net-powershell C:\Users\dengz\AppData\Roaming\jupyter\kernels.net-powershell
julia-1.1 C:\Users\dengz\AppData\Roaming\jupyter\kernels\julia-1.1
julia-1.4 C:\Users\dengz\AppData\Roaming\jupyter\kernels\julia-1.4
julia-1.6 C:\Users\dengz\AppData\Roaming\jupyter\kernels\julia-1.6
juliapro_v1.4.2-1-1.4 C:\Users\dengz\AppData\Roaming\jupyter\kernels\juliapro_v1.4.2-1-1.4
rust C:\Users\dengz\AppData\Roaming\jupyter\kernels\rust
python3 e:\ProgramData\Anaconda3\share\jupyter\kernels\python3
网友评论