formulahendry / formulahendry/vscode-code-runner

[Bug] Execute python3 codes with 'python3 -filename.py' instead of 'python -filename.py'

Open
#1,201 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
2.4k
Forks
351
PR merge metrics
No merged PRs in 30d

Description

- Code Runner Version: v0.12.2

**Bug description**
In many system using python3, to execute a python file 'python3 -filename.py' command is used in terminal/cmd instead of 'python -filename.py'. If we use 'python' it will show error.

**To Reproduce**

Check whether the system is showing error for 'python' command in terminal/cmd or not, if it is showing error, use 'python3', if still it's showing error, ask user to check Path variable or download python.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.