C# kernel does not work at Jupyterlab/Notebook
See original GitHub issueDescribe the bug
- C# kernels die / do not work, python works perfect, so not sure if this is a dotnet interactive or jupyterlab bug. See https://github.com/jupyterlab/jupyterlab/issues/13320
Please complete the following:
FROM jupyter/datascience-notebook:lab-3.5.0
USER root
# Install dotnet 6 sdk & runtime
RUN apt-get update && apt-get install -y dotnet6 && \
apt-get clean && apt-get autoclean && apt-get autoremove --purge -y && rm -rf /var/lib/apt/lists/*
# Install .NET Interactive to support C# in Jupyter notebooks
ENV PATH="$PATH:/home/jovyan/.dotnet/tools"
USER 1000
RUN dotnet tool install -g --no-cache --version 1.0.350406 --add-source "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json" Microsoft.dotnet-interactive && \
dotnet interactive jupyter install
-
docker build -t testjupyter - < Dockerfile
-
docker run -it -p 8888:8888 testjupyter start.sh "jupyter" "lab" "--log-level=DEBUG"
-
OS
- Windows 11
- Windows 10
- macOS
- Linux (Please specify distro)
- iOS
- Android
-
Browser
- Chrome
- Edge
- Firefox
- Safari
-
Frontend
- Jupyter Notebook
- Jupyter Lab
- nteract
- Visual Studio Code
- Visual Studio Code Insiders
- Visual Studio
- Other (please specify)
Screenshots
Issue Analytics
- State:
- Created a year ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Jupyter Notebook - Cannot Connect to Kernel
I had a similar issue using jupyter-lab. It would not connect to a kernel containing a virtual environment with python 3.9. What worked...
Read more >How to Fix Kernel Error in Jupyter Notebook
A kernel error occurs basically when you try opening a python 3 file in the wrong directory. The truth is Jupyter and Python...
Read more >What to do when things go wrong — Jupyter Notebook 7.0.2 ...
Jupyter can't start a kernel If your problem is with another kernel, not the Python one we maintain, you may need to look...
Read more >Kernel failed using ROOT C++ in jupyter notebook
Hi Experts, I have newly updated my ubuntu os to 21.04 (Xorg), I am struggling using c++ in the notebook. The kernel is...
Read more >How to fix Kernel Error or broken Python in Jupyter Notebook
It also solves the problem of running pip install but Python packages ... you might get a Kernel Error when trying to use...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think I have the exactly the same issue but I’m not using a docker setup, I have my own VM. I am using TLJH if that is relevant. Is there a workaround for this?
kernel starting, please wait...
for a while, but it doesn’t start. It fails withA connection to the notebook server could not be established. The notebook will continue trying to reconnect. Check your network connection or notebook server configuration.
after few minutes, andNot Connected
after that.Further information if needed:
dotnet --info
dotnet-interactive --version
python3 --version
jupyter --version
What is the expected port number that needs to be opened?