Skip to content
This repository has been archived by the owner on Aug 6, 2023. It is now read-only.

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

Closed
Blank-c opened this issue Mar 19, 2023 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@Blank-c
Copy link
Owner

Blank-c commented Mar 19, 2023

Make sure your AV is off and there is nothing blocking the builder.
Now follow these steps:

  1. Type Manage app execution aliases in the search box and click the result.
    image

  2. Disable every python related switches. (2 in my case, may be more in yours)
    image

  3. Go to https://python.org/downloads and download the latest one.

  4. Install the new python from the installer you downloaded from the website
    (Must check the Add Python to PATH option while installing.)

Now retry building.

@Blank-c Blank-c added bug Something isn't working help wanted Extra attention is needed labels Mar 19, 2023
Repository owner locked as resolved and limited conversation to collaborators Mar 19, 2023
@Blank-c Blank-c pinned this issue Mar 19, 2023
@Blank-c Blank-c closed this as completed Mar 19, 2023
@Blank-c Blank-c changed the title Error while creating virtual environment ("python -m venv env"): Access is denied. Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases. Jun 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant