简体   繁体   中英

Jupyter Notebook Kernel Not Connecting: Connection Failed (while Jupyter kernel connection works in Visual Studio Code)

Jupyter Notebook Kernel Not Connecting: Connection Failed:

Problem description

I have tried update ipykernel ipython and downgrade tornado, but all these methods didn't work for me.

I have installed Jupyter Notebook Extension in my Microsoft Visual Studio Code and it is weird that although kernel connection failed in the webpage-based Jupyter Notework, it still works well in VSC:

VSC Jupyter Notebook Extension works well

One of my coming final exams will use Jupyter Notebook, so the connection failure really troubles me presently. I would really appreciate it if someone could help identify what's going on here. I never changed my kernel and I didn't even understand how to set up different environments. Things just go wrong after I cheerfully pip install tensorflow though I think it is not package installation to blame.

Thanks in advance!!!

I faced this problem, tried down-grading tornado, but that didn't work.

uninstalled jupyter and installed again and worked just fine

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