今天想要运行jupyter notebook,结果运行后报错:
AttributeError: type object ‘IOLoop’ has no attribute ‘initialized’
然后上网搜集资料说是tornado版本过高导致的,于是我去看了一下我的tornado版本:
发现我的tornado是6.1版本的,网上说建议安装tornado 4.4.3版本的,于是先把原来版本的tornado卸载:
pip uninstall tornado
然后再查看tornado是否卸载干净:
conda list
接着暗转tornado 4.4.3版本的:
pip install tornado==4.4.3
用pip安装有时候会报错,所以可以用conda安装:
conda install tornado==4.4.3