프린트 하기

OS환경 : Window 10 Pro (64bit)

 

SW 환경 : VS Code 1.87.2, Python 3.12.2

 

에러 : No Python interpreter is selected. Please select a Python interpreter to enable features such as IntelliSense, linting, and debugging.

vs code 에서 파이썬 코드를 실행할때 우측 하단에 발생하는 에러

 

 

파이썬 코드 실행

 

 

에러 발생

 

 

해결 방법 : vs code에서 interpreter 를 설치된 python으로 설정

vs code에서 interpreter 를 설치된 python으로 설정해줘야함

 

 

에러 메세지 우측 하단의 Select Python Interpreter 선택

 

 

Select Interpreter 에서 설치한 Python 선택

 

 

파이썬 코드 재 실행

정상적으로 실행됨

 

원인 : Interpreter(인터프리터) 미설정으로 인한 에러 메세지

Interpreter(인터프리터) 미설정으로 인한 에러 메세지로 인터프리터를 파이썬으로 설정만 해주면 간단하게 해결됨

 

 

참조 :