Data Science library kernelspec is not installed in interpreter Python 3.7.6 64-bit ('base': conda).

问题

在使用 VScode的python插件运行 jupyter的时候,出现了这个错误。

Data Science library kernelspec is not installed in interpreter Python 3.7.6 64-bit ('base': conda).

同时,在窗口内出现这个错误:

Error: Jupyter cannot be started. Error attempting to locate jupyter: 'Kernelspec' module not installed in the selected interpreter (C:UsersAdminanaconda3python.exe).
Please re-install or update 'jupyter'.

解决

截至目前(2020-03-19),该问题未被解决,详见:https://github.com/Microsoft/vscode-python/issues/10071

两个选项:

  • 回退到旧版本Python
  • 使用cmd启动jupyter lab或jupyter notebook
原文地址:https://www.cnblogs.com/heenhui2016/p/12524118.html