简体   繁体   中英

Python Interpreter not detected in Visual Studio Code

我已经在这里坐了一个小时不知道发生了什么,我是一名学生,所以我不太了解,但我不知道这里发生了什么,这是错误的图片: https://i.stack.imgur .com/SCtKU.png

This is because the Python interpreter is not selected for VSCode, and the Python extension of VSCode cannot identify the Python code through it.

The Python interpreter in VSCode refers to the Python that recognizes and interprets code, which needs to be installed outside of VSCode.

The main conditions required to run Python code in VSCode are: Python, Python extension, VSCode.

It is recommended that you could refer to this document: Use Python in VS Code .

转到扩展并下载 Python 解释器扩展!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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