Troubleshooting

[VSCode] command 'python.execSelectionInTerminal' not found

비쵸비쵸비 2023. 9. 24. 09:09
728x90

vscode로 파이썬 파일을 run 하는데 평소엔 잘만 돌아가다가 갑자기 이런 에러가 떴다..(맥)

command 'python.execSelectionInTerminal' not found

 

결론부터 말하면 restricted mode의 문제라고 한다!

https://stackoverflow.com/questions/71609154/command-python-execselectioninterminal-not-found

 

command 'python.execSelectionInTerminal' not found

I am a beginner just shifted from jupyter to vs-code, whenever I try to run my code, I get: "command 'python.execSelectionInTerminal' not found" I have tried: Uninstalling-reinstalling

stackoverflow.com

 

파이썬 uninstall하고 reinstall해보고, 다운그레이드 해봐도 안되다가

다운그레이드 하고 run 하니까 이 창이 떴고 여기서 trusted folders path에 이 파이썬 파일이 있는 path를 추가해주면 잘 돌아간다!

 

728x90

'Troubleshooting' 카테고리의 다른 글

ValueError: could not convert string to float  (0) 2023.10.22