运行jupyter notebook 出现如下报错

ghflenovo 2018-12-05 10:25:18
环境 anaconda2 tensorflow1.10.1 python2.7 jupyter notebook 4.2.1
报错如下:
Kernel started: 3ffc7b27-5215-4d1c-b6c2-3c4236ba7789
Traceback (most recent call last):
File "/home/ghf/anaconda2/envs/tensorflow/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/home/ghf/anaconda2/envs/tensorflow/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/home/ghf/anaconda2/envs/tensorflow/lib/python2.7/site-packages/ipykernel_launcher.py", line 16, in <module>
app.launch_new_instance()
File "/home/ghf/anaconda2/envs/tensorflow/lib/python2.7/site-packages/traitlets/config/application.py", line 657, in launch_instance
app.initialize(argv)
File "<decorator-gen-121>", line 2, in initialize
File "/home/ghf/anaconda2/envs/tensorflow/lib/python2.7/site-packages/traitlets/config/application.py", line 87, in catch_config_error
return method(app, *args, **kwargs)
File "/home/ghf/anaconda2/envs/tensorflow/lib/python2.7/site-packages/ipykernel/kernelapp.py", line 469, in initialize
self.init_sockets()
File "/home/ghf/anaconda2/envs/tensorflow/lib/python2.7/site-packages/ipykernel/kernelapp.py", line 260, in init_sockets
self.init_iopub(context)
File "/home/ghf/anaconda2/envs/tensorflow/lib/python2.7/site-packages/ipykernel/kernelapp.py", line 268, in init_iopub
self.iopub_thread = IOPubThread(self.iopub_socket, pipe=True)
File "/home/ghf/anaconda2/envs/tensorflow/lib/python2.7/site-packages/ipykernel/iostream.py", line 66, in __init__
self.io_loop = IOLoop(make_current=False)
File "/home/ghf/anaconda2/envs/tensorflow/lib/python2.7/site-packages/tornado/util.py", line 209, in __new__
instance.initialize(**args)
File "/home/ghf/anaconda2/envs/tensorflow/lib/python2.7/site-packages/tornado/platform/epoll.py", line 26, in initialize
super(EPollIOLoop, self).initialize(impl=select.epoll(), **kwargs)
TypeError: initialize() got an unexpected keyword argument 'make_current'

KernelRestarter: restart failed
The kernel has died, and the automatic restart has failed. It is possible the kernel cannot be restarted. If you are not able to restart the kernel, you will still be able to save the notebook, but running code will no longer work until the notebook is reopened.
...全文
1173 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
屎克螂 2018-12-13
  • 打赏
  • 举报
回复
看错误 tornado 与 tensorflow 版本没对应上吧

37,720

社区成员

发帖
与我相关
我的任务
社区描述
JavaScript,VBScript,AngleScript,ActionScript,Shell,Perl,Ruby,Lua,Tcl,Scala,MaxScript 等脚本语言交流。
社区管理员
  • 脚本语言(Perl/Python)社区
  • IT.BOB
加入社区
  • 近7日
  • 近30日
  • 至今

试试用AI创作助手写篇文章吧