VS Code extension 5.2.2 installation issues on Windows 11

nicklasb
Posts: 10
Joined: Sun Apr 24, 2022 9:11 pm

VS Code extension 5.2.2 installation issues on Windows 11

Postby nicklasb » Sun Jun 16, 2024 9:56 pm

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.

eminates
Posts: 3
Joined: Tue Jul 23, 2024 8:49 pm

Re: VS Code extension 5.2.2 installation issues on Windows 11

Postby eminates » Tue Jul 23, 2024 8:53 pm

Hi,
I have the same problem. Did you find any solution?

User avatar
ESP_Roland
Posts: 256
Joined: Tue Oct 09, 2018 10:28 am

Re: VS Code extension 5.2.2 installation issues on Windows 11

Postby ESP_Roland » Wed Jul 24, 2024 7:07 am

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.

Who is online

Users browsing this forum: No registered users and 59 guests