简体   繁体   English

为什么 vscode 上的 jupyter notebook 总是说没有安装 Python?

[英]Why does jupyter notebook on vscode always say not Python is installed?

Python is installed in Linux, as shown in terminal, but why does jupyter notebook on vscode always say not Python is installed? Linux下安装了Python,终端显示,但是为什么vscode上的jupyter notebook总是说没有安装Python?

Thanks a lot.非常感谢。

Have you selected a python environment which has jupyter notebook installed.您是否选择了安装了 jupyter notebook 的 python 环境。

Install jupyter notebook in environment:在环境中安装jupyter notebook:

pip install jupyter notebook

Select environment in VSCode:在 VSCode 中选择环境:

https://code.visualstudio.com/docs/python/environments#_select-and-activate-an-environment https://code.visualstudio.com/docs/python/environments#_select-and-activate-an-environment

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM