简体   繁体   English

没有与内核的连接 - Jupyter Notebook Windows 10

[英]No connection to kernel - Jupyter Notebook Windows 10

I have Python3 pre-installed on my personal laptop and now i have installed Jupyter Notebook using PIP but when i create a new notebook using python 3 kernel, it always gives orange highlighted message "Connecting to Kernel" but never connects.我在我的个人笔记本电脑上预装了 Python3,现在我已经使用 PIP 安装了 Jupyter Notebook,但是当我使用 python 3 内核创建一个新笔记本时,它总是给出橙色突出显示的消息“连接到内核”,但从未连接。 OS - Windows 10, Personal laptop Network - Wifi and not connecting through any proxy Anti-virus - Uninstalled操作系统 - Windows 10,个人笔记本电脑网络 - Wifi 且未通过任何代理连接 防病毒 - 已卸载

Can someone help what could be the issue ?有人可以帮助可能是什么问题吗?

I found the answer on stack overflow only in another thread.我只在另一个线程中找到了有关堆栈溢出的答案。

Uninstall tornado 6卸载龙卷风 6

pip uninstall tornado

and reinstall tornado 5并重新安装龙卷风 5

pip install tornado==5.1.1

I had the same issue,i tried uninstalling tornado and reinstalling it ,i tried running it on different port , none of those worked.but i tried this and worked!!!!!我遇到了同样的问题,我尝试卸载 Tornado 并重新安装它,我尝试在不同的端口上运行它,但都没有奏效。但我尝试了这个并成功了!!!!! open anaconda ===> Home ====> find jupyter notebook ====> go to the gear icon (settings) ===> first remove it then you see there is a install button under it,after installation it worked for me!!!!打开 anaconda ===> Home ====> 找到 jupyter notebook ====> 转到齿轮图标(设置) ===> 首先删除它然后你看到它下面有一个安装按钮,安装后它起作用了为了我!!!!

I had the same issue,i tried uninstalling tornado and reinstalling it ,i tried running it on different port , none of those worked.but i tried this and worked!!!!!我遇到了同样的问题,我尝试卸载 Tornado 并重新安装它,我尝试在不同的端口上运行它,但都没有奏效。但我尝试了这个并成功了!!!!! open anaconda ===> Home ====> find jupyter notebook ====> go to the gear icon (settings) ===> first remove it then you see there is a install button under it,after installation it worked for me!!!!打开 anaconda ===> Home ====> 找到 jupyter notebook ====> 转到齿轮图标(设置) ===> 首先删除它然后你看到它下面有一个安装按钮,安装后它起作用了为了我!!!!

After having issues with this myself, and looking at the Tornado version, I found this wasn't the problem for me, instead after running the following in the relevant environment after installing ipykernel, this resolved the issue:在我自己遇到问题并查看 Tornado 版本后,我发现这对我来说不是问题,而是在安装 ipykernel 后在相关环境中运行以下命令后,解决了问题:

conda install -n base nb_conda_kernels conda install -n base nb_conda_kernels

jupyter kernelspec list

Should list all kernels running on your system, make sure that the Python kernel path is accurate.应列出系统上运行的所有内核,确保 Python 内核路径准确无误。

I would also try to run it over another port, in case if any network restrictions如果有任何网络限制,我也会尝试通过另一个端口运行它

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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