ubuntu 22.04에서 vscode사용을 하다가 venv활성을해도 code runner을 실행 시 인터프리터가 venv쪽으로 안되는 경우 강제로 지정 하는 방법.
settings.json 설정
# 아리 커멘드를 입력하면 설정 페이지가 나온다.
ctrl + ,
settings로 검색해서 Edit in settings.json 클릭

아래 참조하여 python 부분에 절대경로로 지정
{
"files.autoSave": "afterDelay",
"code-runner.executorMap": {
......
......
// "python": "python -u",
"python": "/home/ubuntu/temp/venv/bin/python3", //강제 지정
......
......
}
}