在使用 ipython notebook命令進入python交互式模式的時候
報錯:RuntimeError: AttributeError: type object ‘IOLoop’ has no attribute ‘initialized’
網上說 tornado的版本過高,然後我就刪了高版本的又用下面的命令下載:
使用 pip install tornado4.5 之後又報了錯
報錯:RuntimeError: No supported color terminal library
解決辦法: 還是版本過高 需要用 tornado4.4.3
刪除tornado原始包,運行下面命令:
pip install tornado==4.4.3
問題解決。
錯誤圖: