Clean setup vscode + IDF extension: The term 'PYTHON_INTERPRETER' is not recognized
Posted: Fri Jan 15, 2021 7:21 am
After trying sereval times to get VS code with debugging running on my desktop PC, I decided to try it on my laptop.
Laptop runs windows 10, had never had an install of VScode, Python and ESP.
Followed this flow (no settings changed, everything left at default)
Installed vscode
Installed Python 3.9.1
Installed Git 2.30.02
Installed IDF extension 0.6.0
Execute command: Configure IDF extension, choose "expres install"
After some time -> "All settings have been configured and you can close this window"
Checked settings.json as described in https://github.com/espressif/vscode-esp ... s/SETUP.md no obvious errors.
Then the next step:
Which results in: "The term 'PYTHON_INTERPRETER' is not recognized"
Or do I have to replace PYTHON_INTERPRETER with the path to a python interpreter here ?
Which terminal is meant here. I tried in within the VS code terminal.
What else can be wrong ?
Laptop runs windows 10, had never had an install of VScode, Python and ESP.
Followed this flow (no settings changed, everything left at default)
Installed vscode
Installed Python 3.9.1
Installed Git 2.30.02
Installed IDF extension 0.6.0
Execute command: Configure IDF extension, choose "expres install"
After some time -> "All settings have been configured and you can close this window"
Checked settings.json as described in https://github.com/espressif/vscode-esp ... s/SETUP.md no obvious errors.
Then the next step:
Make sure to install the extension and extension debug adapter Python requirements by running the following commands in your terminal:
PYTHON_INTERPRETER -m pip install -r EXTENSION_PATH/requirements.txt
Which results in: "The term 'PYTHON_INTERPRETER' is not recognized"
Or do I have to replace PYTHON_INTERPRETER with the path to a python interpreter here ?
running the following commands in your terminal
Which terminal is meant here. I tried in within the VS code terminal.
What else can be wrong ?