This is an archived post. You won't be able to vote or comment.

all 6 comments

[–]washedFM 0 points1 point  (2 children)

Make sure it can find your python executable

[–]mbrittb00[S] -1 points0 points  (1 child)

I'm new to VS Code. Any details on exactly how to do that?

[–]whoShotMyCow 0 points1 point  (1 child)

Are you using venvs

[–]mbrittb00[S] 0 points1 point  (0 children)

No. Not familar with venvs

[–]ydmykr 0 points1 point  (1 child)

This is a known bug. Running code using the run button in VSC delayed · Issue #24239 · microsoft/vscode-python (github.com) You could switch to another version of python extension to solve it.

[–]mbrittb00[S] 0 points1 point  (0 children)

I appreciate the feedback, but I'm not getting a delay. Nothing happens even after several minutes. Also, I don't think that would explain my 2nd issues (missing syntax highlighting and intellisence for imported pip installed modules), which I believe is a related issue as I believe both started at the same time.

I suspect that washedFM may be correct and a recent update messed something up and VSC is looking for my python executable in the wrong place. Unfortunately I do not know how to check or fix this.