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:\Users\Admin\anaconda3\python.exe).
Please re-install or update 'jupyter'.

解决

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

两个选项:

  • 回退到旧版本Python
  • 使用cmd启动jupyter lab或jupyter notebook


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM