formulahendry / formulahendry/vscode-code-runner

[Bug] Cannot run Python code without installing Python from the MS Store, even when I installed it from the Python website and the VS Code Extension

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

Description

- VS Code Version: 1.75.1
- OS Version: Windows 10
- Code Runner Version: 0.12.0

**Describe the bug**
Description of what the bug is.
Cannot run Python code. Output box only shows this:
Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.
[Done] exited with code=9009

I downloaded Python from the Python website and have it installed. I can use Python in the VS Code terminal, but not the Output. This should not be intended functionality.

**To Reproduce**
Steps to reproduce the behavior:
1. Fresh install VS Code
2. Install Python extension
3. Install Python from https://www.python.org/
4. Install Code Runner
5. Run a Python script

**Actual behavior**
Description of what happened actually.
Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.
[Done] exited with code=9009

**Expected behavior**
Description of what you expected to happen.
It should run Python.

**Screenshots**
If applicable, add screenshots to help explain your problem.
![Screenshot (139)](https://user-images.githubusercontent.com/99115384/222224838-c01a5c75-1f2d-4b5e-bed4-803bf242b8d7.jpg)
![Screenshot (139)](https://user-images.githubusercontent.com/99115384/222224875-c822996f-bd55-4c3d-a318-decc110f76c8.png)

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.