Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

jupyter notebook keeps CONNECTING TO KERNEL

The Jupyter notebook keeps saying Connecting to kernel, which never reaches finally popping an error,

A connection to the notebook server could not be established. The notebook will continue trying to reconnect. Check your network connection or notebook server configuration.

So the asterisk on the command line stays forever.

The strange part is, iPython on terminal works FINE.

Here are what I tried:

  1. Change the browser from Chrome to Firefox
  2. Change port number into something else than '8888'
  3. Uninstalled the Jupyter and re-installed it

Anybody with similar issues?

like image 213
Soo Jeong Avatar asked Jan 27 '23 15:01

Soo Jeong


1 Answers

I had a similar issue. It was caused by the tornado-package and I had to downgrade it.

sudo pip3 uninstall tornado
sudo pip3 install tornado==5.1.1

See Jupyter notebook: No connection to server because websocket connection fails

like image 120
Andreas Buchberger Avatar answered Jan 29 '23 04:01

Andreas Buchberger