'nb_conda_kernels.CondaKernelSpe
[C 13:39:16.979 NotebookApp] Bad config encountered during initialization:
[C 13:39:16.979 NotebookApp] The 'kernel_spec_manager_class' trait of <notebook.notebookapp.NotebookApp object at 0x0000016189936748> instance must be a type, but 'nb_conda_kernels.CondaKernelSpecManager' could not be imported

因为之前一直使用jupyter(python3)作为算法模型开发的ide,最近在使用pycharm调试项目代码,项目代码python2的开发环境,所以想尝试使用anaconda同步项目代码的开发环境。
................忘了采取了什么操作导致上图报错内容出现,花费了大半天时间,才找到解决该问题的方法,做个记录。
1.-----------------------------------------------
In terminal, find the configurations directories withjupyter --paths.
In one of the directories there I found jupyter_notebook_config.json
Save a back up copy ;)
From the file delete the following line:
"kernel_spec_manager_class": "nb_conda_kernels.CondaKernelSpecManager"
5.Delete the comma preceding it. (Then...it may really works!)
作者:领风者
链接:https://www.zhihu.com/question/56570933/answer/740877800

找到你本地的anaconda安装路径:
./etc/jupyter/jupyter_notebook_config.json
删除:
"kernel_spec_manager_class": "nb_conda_kernels.CondaKernelSpecManager"
再次启动:jupyter notebook
over
2.----------------------------------------------------
经过1操作后,有可能你通过jupyter打开项目代码出现下图:

采用如下方法:

https://github.com/jupyter/notebook/issues/2664
使用conda/pip将tornado版本降为 4.5.3