Closed dxzzxb closed 3 months ago
Could you share the doctor command output as requested in the issue template.
Is C:\Espressif
the same IDF_TOOLS_PATH from your vscode configuration? Only way we could know is with the doctor command output.
Closing this for lack of response.
OS
Windows
Operating System version
win10
Visual Studio Code version
1.85.1
ESP-IDF version
5.1.1
Python version
3.9 and 3.11
Doctor command output
none
Extension
No response
Description
I installed esp-idf through the VSCode extension, and everything works fine. However, I want to automate a series of compilation and packaging tasks through a script. When I restart a terminal and run the command .$HOME/esp/esp-idf/export.ps1, an error occurs, stating "ERROR: C:\Espressif\python_env\idf5.1_py3.9_env\Scripts\python.exe doesn't exist! Please run the install script or 'idf_tools.py install-python-env' in order to create it." But in my C:\Espressif\python_env directory, there is only idf5.1_py3.11_env. I want to know what the problem is.
Debug Message
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide