why the vscode runcode error appear in windows

34 views Asked by At

for some python file, when I run code in vscode,the terminal will display enter image description here,not enter image description here. I donnot know why the "/usr/bin/env" will appear,I just know that is for Unix. sorry for my poor English.

I just want to know the reason why it appear.

1

There are 1 answers

0
Yadhukrishna On

"/usr/bin/env" is appearing when you directly execute python file with vs code extentions . you can either use that or simply open terminal in program location and execute command - python programname.py / python3 programname.py