在jupyter运行某一项目时,安装好了所有的依赖包,但无法运行,会弹出Kernel died(code: 1). AttributeError: type object ‘IOLoop’ has no attribute “initialized”。
此问题出现是由于tornado的版本过高,需要调到4.5。 同时需要注意,有些电脑可能存在多个python环境,需要明确当前的项目所在的环境是哪一个,再调整版本。
conda env list
conda active PDE-Net
pip uninstall tornado
pip install tornado==4.4.3