Why does jupyter notebook server keeps crashing when .ipynb files are opened?
Please uninstall and re-install all the below items:
- ipykernel
- ipython
- jupyter_client
- jupyter_core
- traitlets
- ipython_genutils
Additionally, if you're going to install with conda, follow below command.
run conda clean -tipsy
This command will clean up conda caches before you start.
Reference:
Pherdindy
Updated on June 28, 2022Comments
-
Pherdindy almost 2 years
I was able to use jupyter notebook 4 days ago. The only thing that changed was there was a firefox version update.
After that the server crashes everytime .ipynb files are opened. Even the directory will have a server error. I tried it both on Firefox and Google Chrome, both browsers will crash the server.
My only kernel is python3 and it always says "Kernel Busy". I tried resetting my pc and the jupyter notebook, but nothing seems to work.
The console showed:
The last 2 lines are causing the crash but I don't know how to fix it
When I type
conda install jupyter
in the anaconda prompt, I get something before it finishes as shown below. Maybe it might have a cause as to why it is having issues:I created a new python environment and installed python, matplotlib, pandas, jupyter and it still crashes
-
Pherdindy almost 5 yearsThe issue doesn't get fixed even when I reinstall these packages and run
conda clean -tipsy
-
Pherdindy almost 5 yearsOnly firefox updated, so don't know why it also crashes on Google Chrome. As for downgrading, I have already tried downgrading as suggested previously, but it still crashes. I have also re-installed the components as mentioned in the other answer and even created an empty environment from scratch and only installed jupyter notebook, and it still crashes
-
Pherdindy almost 5 yearsI'll check and try the other recommendations here