配置的详细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
三、安装: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:UsersdengzAppDataRoamingjupyterkernels.net-csharp
.net-fsharp C:UsersdengzAppDataRoamingjupyterkernels.net-fsharp
.net-powershell C:UsersdengzAppDataRoamingjupyterkernels.net-powershell
julia-1.1 C:UsersdengzAppDataRoamingjupyterkernelsjulia-1.1
julia-1.4 C:UsersdengzAppDataRoamingjupyterkernelsjulia-1.4
julia-1.6 C:UsersdengzAppDataRoamingjupyterkernelsjulia-1.6
juliapro_v1.4.2-1-1.4 C:UsersdengzAppDataRoamingjupyterkernelsjuliapro_v1.4.2-1-1.4
rust C:UsersdengzAppDataRoamingjupyterkernelsrust
python3 e:ProgramDataAnaconda3sharejupyterkernelspython3
四、打开jupyter查看语言支持
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)