启动spyder 之后,Ipython console 中Connecting to Kernel,出现错误,一直在连接,但是连接不上,Reset Spyder Settings 也解决不了问题。
Traceback (most recent call last):
File "F:\Anaconda_pakage\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "F:\Anaconda_pakage\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "F:\Anaconda_pakage\lib\site‑packages\spyder_kernels\console\__main__.py", line 3, in
start.main()
File "F:\Anaconda_pakage\lib\site‑packages\spyder_kernels\console\start.py", line 294, in main
kernel.start()
File "F:\Anaconda_pakage\lib\site‑packages\ipykernel\kernelapp.py", line 477, in start
ioloop.IOLoop.instance().start()
File "F:\Anaconda_pakage\lib\site‑packages\tornado\platform\asyncio.py", line 132, in start
self.asyncio_loop.run_forever()
File "F:\Anaconda_pakage\lib\asyncio\base_events.py", line 409, in run_forever
raise RuntimeError('This event loop is already running')
RuntimeError: This event loop is already running
ERROR:tornado.general:Uncaught exception in ZMQStream callback
Traceback (most recent call last):
.....
问题解决方法:
卸载 jupyter tornado
conda uninstall jupyter tornado
再重装
conda install jupyter tornado
完美解决问题。
特别感谢 这篇文章的作者 https://blog.csdn.net/blueheart20/article/details/81636241