pythonpython-3.xapipython-venvpyvenv

Permission denied on python3 command


I am new to running the python backend api and I was encountering permission denied on this command: enter image description here


Solution

  • This is a windows specific issue. Windows store recently added Python 3.7 and it is conflicting with your installed version of python. What you can do is the following:

    1. Go to windows search and type "manage app execution aliases" and go to that setting.
    2. Disable the following two options. enter image description here
    3. Make sure your installed version of python is in the environment variable.
    4. Go to your desired directory and enter the command "python -m venv venv" and this time it will create a virtual environment.