繁体   English   中英

Visual Studio Code“未安装 Python。请在使用扩展前下载并安装 Python。” 错误

[英]Visual Studio Code "Python is not installed. Please download and install Python before using the extension." Error

我在 Windows 上使用 VS Code,但出现如下错误:未安装 Python。 使用扩展前,请先下载并安装 Python。 但是我已经有Python 3.10.2 怎么办? 错误截图

您可能从 windows 商店安装了 Python。 请从python 网站安装。 确保在安装过程Add Python 3.X to PATH 然后重新打开你的 VScode。

在此处输入图像描述

尝试更改环境变量。 我不知道如何在代码中解释它,请尝试检查一下: https://www.educative.io/edpresso/how-to-add-python-to-path-variable-in-windows

download python python and select 当vs code报错时你下载的文件目录

暂无
暂无

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

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