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