formulahendry / formulahendry/vscode-code-runner

[Bug]Code-Runner can't find python

Open
#781 0 comments 1 reaction 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.55.2
- OS Version: 10.0.19042 Build 19042
- Code Runner Version: 0.11.3

**Describe the bug**

Receiving the following error:

> "Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases."

Worked fine last night and several days before. Woke up and it isn't working.

I have uninstalled every extension on VS Code, quit and reopened the program, and did a fresh install of the Python extension and Code Runner, and it still is not working as suggested [here](https://github.com/microsoft/vscode-python/issues/13679).

I went to Settings > Manage App Execution Aliases and turned off everything that said Python, as suggested [here](https://stackoverflow.com/questions/65348890/python-was-not-found-run-without-arguments-to-install-from-the-microsoft-store)

From my own CMD prompt if I type "py", python runs just fine.

I'm at a loss as to what to do besides delete VS Code and do a fresh install.

I disabled CodeRunner and now can use the green arrow in VS code to run my code.

**To Reproduce**
Steps to reproduce the behavior:

1. IDK. Go to bed and wake up?

**Actual behavior**
Receiving the following error:

> "Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases."

**Expected behavior**
Code to run

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.