Python 3.x 运行Jupyter笔记本时获取RuntimeWarning,并且从不连接到内核

Python 3.x 运行Jupyter笔记本时获取RuntimeWarning,并且从不连接到内核,python-3.x,jupyter-notebook,jupyter,Python 3.x,Jupyter Notebook,Jupyter,我在Windows7.0Professional上新安装了Python3.7.2和pip,并在一个全新的venv中安装了Jupyter4.4.0。 我启动了一个Jupyter笔记本,我的笔记本从未连接到内核。 在命令提示下,我看到以下错误: [I 17:41:11.959 NotebookApp] Kernel started: 35b03148-7d3e-48cb-a270-ebe959012d98 [I 17:41:14.307 NotebookApp] Adapting to protoc

我在Windows7.0Professional上新安装了Python3.7.2和pip,并在一个全新的venv中安装了Jupyter4.4.0。 我启动了一个Jupyter笔记本,我的笔记本从未连接到内核。 在命令提示下,我看到以下错误:

[I 17:41:11.959 NotebookApp] Kernel started: 35b03148-7d3e-48cb-a270-ebe959012d98
[I 17:41:14.307 NotebookApp] Adapting to protocol v5.1 for kernel 35b03148-7d3e-48cb-a270-ebe959012d98
<full path masked>...\py372venv\lib\site-packages\notebook\base\zmqhandlers.py:284: RuntimeWarning: coroutine 'WebSocketHandler.get' was never awaited
  super(AuthenticatedZMQStreamHandler, self).get(*args, **kwargs)
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
[W 17:41:15.404 NotebookApp] Replacing stale connection: 35b03148-7d3e-48cb-a270-ebe959012d98:3b9a037fced84ccc891192e2f387bae0
[W 17:41:37.415 NotebookApp] Replacing stale connection: 35b03148-7d3e-48cb-a270-ebe959012d98:3b9a037fced84ccc891192e2f387bae0
[W 17:42:01.421 NotebookApp] Replacing stale connection: 35b03148-7d3e-48cb-a270-ebe959012d98:3b9a037fced84ccc891192e2f387bae0
[W 17:42:29.468 NotebookApp] Replacing stale connection: 35b03148-7d3e-48cb-a270-ebe959012d98:3b9a037fced84ccc891192e2f387bae0
[W 17:43:05.489 NotebookApp] Replacing stale connection: 35b03148-7d3e-48cb-a270-ebe959012d98:3b9a037fced84ccc891192e2f387bae0
[I 17:41:11.959 NotebookApp]内核已启动:35b03148-7d3e-48cb-a270-ebe959012d98
[I 17:41:14.307 NotebookApp]适用于内核35b03148-7d3e-48cb-a270-ebe959012d98的协议v5.1
…\py372venv\lib\site packages\notebook\base\zmqhandlers.py:284:RuntimeWarning:coroutine'WebSocketHandler.get'从未等待过
super(AuthenticatedZMQStreamHandler,self).get(*args,**kwargs)
RuntimeWarning:启用tracemalloc以获取对象分配回溯
[W 17:41:15.404 NotebookApp]更换陈旧连接:35b03148-7d3e-48cb-a270-ebe959012d98:3b9a037fced84ccc891192e2f387bae0
[W 17:41:37.415 NotebookApp]更换陈旧连接:35b03148-7d3e-48cb-a270-ebe959012d98:3b9a037fced84ccc891192e2f387bae0
[W 17:42:01.421 NotebookApp]更换陈旧连接:35b03148-7d3e-48cb-a270-ebe959012d98:3b9a037fced84ccc891192e2f387bae0
[W 17:42:29.468 NotebookApp]更换陈旧连接:35b03148-7d3e-48cb-a270-ebe959012d98:3b9a037fced84ccc891192e2f387bae0
[W 17:43:05.489 NotebookApp]更换陈旧连接:35b03148-7d3e-48cb-a270-ebe959012d98:3b9a037fced84ccc891192e2f387bae0
这些旧连接消息将继续。
可能是什么问题?我是Jupyter新手,对Python不太熟悉。

尝试降级tornado版本(
pip安装'tornado安装5.1.1版本,然后再试一次

pip.exe" show tornado
Name: tornado
**Version: 5.1.1**
Summary: Tornado is a Python web framework and asynchronous networking library, originally developed at FriendFeed.
Home-page: http://www.tornadoweb.org/
Author: Facebook
Author-email: python-tornado@googlegroups.com
License: http://www.apache.org/licenses/LICENSE-2.0
Location: c:\users\<userid>\path\to\site-packages
Requires:
Required-by: jupyterhub, notebook, jupyter-client, ipykernel, distributed, bokeh, anaconda-project
pip.exe“显示龙卷风”
名称:龙卷风
**版本:5.1.1**
简介:Tornado是一个Python web框架和异步网络库,最初由FriendFeed开发。
主页:http://www.tornadoweb.org/
作者:Facebook
作者电子邮件:python-tornado@googlegroups.com
许可证:http://www.apache.org/licenses/LICENSE-2.0
位置:c:\users\\path\to\site包
要求:
要求:jupyterhub、笔记本电脑、jupyter客户端、ipykernel、分布式、bokeh、anaconda项目

谢谢Grigory。这很有效。事实上,我尝试降级到5.0.0,这也很有效。我将把这标记为一个答案。欢迎使用Stack Overflow!虽然我们感谢您的答案,但最好在其他答案的基础上提供附加值。在这种情况下,您的答案不会提供附加值,因为另一个用户已经发布了该解决方案。如果以前的答案对您有帮助,您应该对其进行投票,而不是重复相同的信息。