Unable to run .Net interactive kernels on Azure Machine Learning Notebooks
See original GitHub issueI am unble to run the dotnet interactive kernels in any remote editor or on the AML notebooks with the exception of VS Code when running a local Jupyter Server. When a .Net kernel is selected for a notebook it eventually comes back with the error “Kernel not found or was deleted. Your state may be lost. Please select a kernel and re-run cells to connect”. Using VS Code remotely I was able to generate some output that might be useful in troubleshooting this. I am attaching four files which are the outputs of the jupyter console in VSCODE.
- Switching to Remote Jupyter Server
- Switching to Local Jupyter Server
- Execute a cell on the Remote Server
- Execute a cell on the Local Server
The compute node that Jupyter runs on is:
Azure Compute Node:
Runtime Environment: OS Name: ubuntu OS Version: 18.04 OS Platform: Linux RID: ubuntu.18.04-x64
Installation steps I followed on compute node:
1. Check the installed frameworks
dotnet --info
2. Install or update sdk and aspnetcore runtime as needed
wget https://packages.microsoft.com/config/ubuntu/20.10/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
sudo apt-get update; \
sudo apt-get install -y apt-transport-https && \
sudo apt-get update && \
sudo apt-get install -y dotnet-sdk-5.0
3. Re-check installed framweworks
dotnet --info
4. install the dotnet interactive tool
dotnet tool install -g --add-source "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json" Microsoft.dotnet-interactive
5. check dotnet interactive installed
dotnet tool list -g
6. check the installed kernels
jupyter kernelspec list
7. install the dotnet interactive kernels on jupyter
dotnet interactive jupyter install
8 re check the installed kernels
jupyter kernelspec list
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (2 by maintainers)
Top GitHub Comments
got it @lqdev Eureka. I got the wrong PATH. How silly of me. Thank you. Can we all say confusing or at least not consistant. Thanks again. Oh and my most sincere apologies for not paying close attention to your linked document, had I done so I would not have made an arse of myself.
Thanks for helping out here @lqdev! (Or should I call you @luisquintanilla?) 😄