简体   繁体   中英

Jupyter notebook kernel not connecting

I have previously used Jupyter Notebook<\/code> (python 2 and 3) on my mac. After not using it for a while, there seems to be a problem I am unable to fix. When starting the notebook from terminal using the command Jupyter notebook<\/code> , and then select a notebook I want to work with, I get the 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."

Running the following version of jupyter and tornado seemed to solve the issue:

Jupyter: 4.4.0

Tornado: 4.5.3

I needed to downgrade my version of tornado (which was 5.0.2)

I found a way out, Installing Python on my PC solved it . I didn't install python before installing anaconda

安装 Anaconda,启动 Jupyter notebook,然后在 Microsoft Edge 浏览器中打开它。

I was also facing the kernal related issues and all my problems were solved by installing jupyter notebook from anaconda navigator.

So,The best way to handle jupyter notebook related problems is to install jupyter notebook from anaconda navigator for your environment in which you want to run jupyter notebook. If you will install jupyter notebook from anaconda navigator then you will not face any problem.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM