When I use code runner to run my python code in Windows,I found it invoke the Linux command "/usr/bin/env python".it makes me can't run code normally.
There is the error message:
G:\Python Learning>/usr/bin/env python3 "g:\Python Learning\tempCodeRunnerFile.py"
The system could not find the specified path.
I already try to change settings.json,but it doesn't work.So how can I solve this problem?
It seems to use Shebang. You could update the config to ignore it: "code-runner.respectShebang": false
@formulahendry, It works, thanks!
Most helpful comment
It seems to use Shebang. You could update the config to ignore it:
"code-runner.respectShebang": false