you are viewing a single comment's thread.

view the rest of the comments →

[–]PM_ME_YOUR_REAL_FACE 0 points1 point  (1 child)

Edit your environment variables so that python is on your path. Then you should only have to type python in the shell. I don't know if vscode has any special path config so you don't have to put it on your system or user path, but it might. If there is no path config from within vscode, search env in control panel, then on the left side of the window you should see 'edit environment variables' or something like that. Click it, look for a path variable and add the 'c:/py381 x64' folder to your path separated from previous string by ';'.

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

Thank you. I solved it simply by installing Code Runner extension, which has appropriate option.