简体   繁体   English

VS Code 需要一个 Python 解释器。 为什么这是必要的?

[英]VS Code needs a Python Interpreter. Why is this necessary?

I'm new to visual studio code and running a simple html application.我是 Visual Studio 代码的新手,我正在运行一个简单的 html 应用程序。 When running (F5), VS Code complains about "select a python Interpreter".运行 (F5) 时,VS Code 抱怨“选择 python 解释器”。 It's also in the blue bar at the bottom.它也在底部的蓝色栏中。 Why does it need this since I'm not doing Python?为什么需要这个,因为我没有做 Python?

Sounds like you have Python selected as your language.. VSCode will help with syntax if the correct language is selected.. bottom right of the windown (in the blue bar) look for "Python" Click it, it'll take you to the search bar, look for HTML and select it as your language.听起来您已选择 Python 作为您的语言。如果选择了正确的语言,VSCode 将有助于语法。在窗口的右下角(在蓝色栏中)寻找“Python”点击它,它会带你到搜索栏,寻找 HTML 和 select 作为您的语言。

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

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