問題
在使用 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