인프런 커뮤니티 질문&답변
키움_32가 뜨는데 선택이 안되어요
해결된 질문
작성
·
38
0
An Invalid Python interpreter is selected, please try changing it to enable features such as IntelliSense, linting, and debugging. See output for more details regarding why the interpreter is invalid.
답변 8
0
안녕하세요. 명확하진 않으나 처음에 인터프리터를 잘 선택하셨음에도 불구하고 무슨 이유에선지 갑자기 풀려버리는 것으로 보입니다. 아래 설정대로 한번 시도해 보신 후 에러가 지속된다면 다시 말씀 부탁드리겠습니다.
사용 중인 프로젝트 폴더에
.vscode폴더를 생성합니다.그 안에
settings.json파일을 생성합니다.아래 내용을 그대로 넣습니다.
{
"python.defaultInterpreterPath": "C:\\Users\\chagawon\\anaconda3\\envs\\kiwoom_32\\python.exe"
}
VS Code를 완전히 종료 후 다시 실행합니다. (창만 닫지 말고 프로그램 종료 후 재실행 권장)
참고로 프로젝트 폴더는 현재 VS Code에서 열어두고 작업 중인 최상위 폴더를 말합니다.
VS Code 탐색기에 맨 위에 바로 보이는 폴더입니다.
감사합니다.
0
0
밑에 있는 키움_32를 누르면 오른쪽아래에 뜨는 저 표시가 자꾸 뜹니다. show output을 누르면 이렇게 나오고요 2026-02-02 00:12:43.038 [info] Experiment 'pythonSurveyNotificationcf' is active
2026-02-02 00:12:43.080 [info] Native locator: Refresh started
2026-02-02 00:12:43.111 [info] Native locator: Refresh started
2026-02-02 00:12:43.388 [info] Native locator: Refresh finished in 309 ms
2026-02-02 00:12:44.748 [info] Active interpreter [global]: C:\Users\chagawon\anaconda3\envs\kiwoom_32\python.exe
2026-02-02 00:12:44.759 [info] > ~\anaconda3\envs\kiwoom_32\python.exe -c "import sys;print(sys.executable)"
2026-02-02 00:12:44.838 [info] Active interpreter [global]: c:\Users\chagawon\anaconda3\envs\kiwoom_32\python.exe
2026-02-02 00:12:44.866 [info] Active interpreter [global]: python
2026-02-02 00:12:45.564 [info] Starting Pylance language server.
2026-02-02 00:12:47.534 [info] Native locator: Refresh started
2026-02-02 00:12:47.703 [info] Native locator: Refresh finished in 169 ms
2026-02-02 00:17:02.767 [info] Native locator: Refresh started
2026-02-02 00:17:02.993 [info] Native locator: Refresh finished in 226 ms
2026-02-02 00:17:04.460 [info] Active interpreter [global]: C:\Users\chagawon\anaconda3\envs\kiwoom_32\python.exe
2026-02-02 00:17:04.513 [info] Active interpreter [global]: c:\Users\chagawon\anaconda3\envs\kiwoom_32\python.exe
2026-02-02 00:17:04.538 [info] Active interpreter [global]: python
2026-02-02 00:17:18.179 [info] Native locator: Refresh started
2026-02-02 00:17:18.357 [info] Native locator: Refresh finished in 179 ms
2026-02-02 00:18:55.266 [info] Active interpreter [global]: C:\Users\chagawon\anaconda3\envs\kiwoom_32\python.exe
2026-02-02 00:18:55.355 [info] Active interpreter [global]: c:\Users\chagawon\anaconda3\envs\kiwoom_32\python.exe
2026-02-02 00:18:55.401 [info] Active interpreter [global]: python
2026-02-02 00:19:20.463 [info] Native locator: Refresh started
2026-02-02 00:19:20.708 [info] Native locator: Refresh finished in 245 ms
0
0
An Invalid Python interpreter is selected, please try changing it to enable features such as IntelliSense, linting, and debugging. See output for more details regarding why the interpreter is invalid.
0
2026-02-02 00:12:43.038 [info] Experiment 'pythonSurveyNotificationcf' is active
2026-02-02 00:12:43.080 [info] Native locator: Refresh started
2026-02-02 00:12:43.111 [info] Native locator: Refresh started
2026-02-02 00:12:43.388 [info] Native locator: Refresh finished in 309 ms
2026-02-02 00:12:44.748 [info] Active interpreter [global]: C:\Users\chagawon\anaconda3\envs\kiwoom_32\python.exe
2026-02-02 00:12:44.759 [info] > ~\anaconda3\envs\kiwoom_32\python.exe -c "import sys;print(sys.executable)"
2026-02-02 00:12:44.838 [info] Active interpreter [global]: c:\Users\chagawon\anaconda3\envs\kiwoom_32\python.exe
2026-02-02 00:12:44.866 [info] Active interpreter [global]: python
2026-02-02 00:12:45.564 [info] Starting Pylance language server.
2026-02-02 00:12:47.534 [info] Native locator: Refresh started
2026-02-02 00:12:47.703 [info] Native locator: Refresh finished in 169 ms 이렇게 뜨네요 ㅜ
0
안녕하세요, 인프런 AI 인턴입니다. 가원님께서 겪고 계신 문제는 Visual Studio Code (VS Code)에서 설정된 파이썬 인터프리터가 잘못되었거나 인식되지 않는 경우에 자주 발생합니다. 이로 인해 IntelliSense, linting, debugging 등의 기능이 제대로 작동하지 않을 수 있습니다. 아래의 방법을 이용해 문제를 해결해 보세요.
해결 방법
VS Code에서 Python 인터프리터 선택:
- 먼저, VS Code의 왼쪽 하단에 있는 Python 버전을 클릭하여 사용 가능한 인터프리터 목록을 확인하세요.
Ctrl + Shift + P를 누른 후 “Python: Select Interpreter”를 입력하고 실행하여 가상환경 목록을 불러올 수 있습니다. 여기서키움_32라는 가상환경을 찾을 수 있다면 선택하세요.
- 먼저, VS Code의 왼쪽 하단에 있는 Python 버전을 클릭하여 사용 가능한 인터프리터 목록을 확인하세요.
수동 경로 추가:
- 만약 가상환경이 목록에 보이지 않는다면,
Enter Interpreter Path를 클릭하여 가상환경의 정확한 경로를 수동으로 입력해야 할 수도 있습니다.
- 가상환경이 보통 C:\Users\사용자이름\anaconda3\envs\가상환경이름 에 위치합니다.
- 만약 가상환경이 목록에 보이지 않는다면,
기존 설정 확인:
settings.json파일에서 “python.pythonPath” 설정이 올바르게 지정되어 있는지 확인하세요. 이 파일은.vscode폴더 내부에 있습니다.
- 해당 경로를
키움_32의 실행 파일까지 정확히 지정해야 합니다.
VS Code 재실행 및 업데이트:
- VS Code를 재실행하거나 Python 및 관련 확장 프로그램이 최신 버전인지 확인해 보세요. 또한, 모든 Extension이 최신 버전으로 설치되어 있는지도 중요합니다.
- VS Code를 재실행하거나 Python 및 관련 확장 프로그램이 최신 버전인지 확인해 보세요. 또한, 모든 Extension이 최신 버전으로 설치되어 있는지도 중요합니다.
관련 질문 URL들:
위의 방법들을 통해서 인터프리터 문제를 해결하고 싶은 기능들을 정상 작동시키길 바랍니다.
저는 질문자님의 이해를 돕고자 지식공유자님의 기존 답변을 참고하여 유사한 답변 링크를 추천해드리고 있습니다.
현재 베타 기능으로 답변이 만족스럽지 않을 수 있는 점 양해 부탁드립니다. 🙏
추가적으로 궁금한 점이 있으시면, 이어서 질문해 주세요. 곧 지식공유자께서 답변해 주실 것입니다.






위에 사진 보냈습니다!