Page 1 of 1

VS Code extension 5.2.2 installation issues on Windows 11

Posted: Sun Jun 16, 2024 9:56 pm
by nicklasb
Hi,

I am having issues installing ESP-IDF using the "Configure ESP-IDF Extension".
I have tried sort of all kinds of stuff but seems to always end up with:

Code: Select all

Installing Python packages
 Constraint file: C:\Espressif\espidf.constraints.v5.2.txt
 Requirement files:
  - C:\Users\Nickl\esp\v5.2.2\esp-idf\tools\requirements\requirements.core.txt
WARNING: Error while accessing the ESP-IDF version file in the Python environment: [Errno 2] No such file or directory: 'C:\\Espressif\\python_env\\idf5.2_py3.11_env\\idf_version.txt'
Error during ESP-IDF setup
It seems to be Windows specific, I haven't had the same issues in MacOs.

Re: VS Code extension 5.2.2 installation issues on Windows 11

Posted: Tue Jul 23, 2024 8:53 pm
by eminates
Hi,
I have the same problem. Did you find any solution?

Re: VS Code extension 5.2.2 installation issues on Windows 11

Posted: Wed Jul 24, 2024 7:07 am
by ESP_Roland
On the ESP-IDF side we already improved the warning message. It was "error" in it so I guess the Vscode plugin exited because of it. I'm not sure if this has been fixed with any of Vscode plugin bugfixes. But the warning itself can be avoided if the virtual environment is manually deleted (C:\\Espressif\\python_env\\idf5.2_py3.11_env in the example) and the installer is re-run.