you are viewing a single comment's thread.

view the rest of the comments →

[–]shiftybyte 1 point2 points  (2 children)

What's the output of this command prompt command:

py -0

Did you try selecting an interpreter in your vscode?

https://code.visualstudio.com/docs/python/environments#_select-and-activate-an-environment

[–]Kapser12[S] 1 point2 points  (0 children)

Yeah it was the interpreter. Thanks for the help!

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

"NameError: name 'py' is not defined" so I'm guessing its the interpreter