在Anaconda中启动jupyter notebook报下图中的错误(无法正常启动):
![](https://img-blog.csdnimg.cn/fa8f1b45b4834f828aa1eff2ae632cb0.png#pic_center)
原因分析:
在于 traitlets 这个库对于python3.9 or python3.10 的版本过高了或者没有这个库,因此需要重新安装一个符合python版本的traitlets。本地python为3.9,因此安装了一个 traitlets为5.8的库:pip install traitlets==5.8即可。
解决方案:
pip install traitlets==5.8对于python3.9 or python3.10.
![解决方案图](https://img-blog.csdnimg.cn/e75603edd3d94b39bab066abad305ad1.jpeg#pic_center)