esp-idf V5.5 在window下使用问题

shadow_pan
Posts: 1
Joined: Tue Sep 09, 2025 9:37 am

esp-idf V5.5 在window下使用问题

Postby shadow_pan » Tue Sep 09, 2025 9:41 am

Setting PYTHONNOUSERSITE, was not set
Using Python in D:\esp-idf\Espressif\python_env\idf5.5_py3.11_env\Scripts\
Python 3.11.2
Using Git in D:\esp-idf\Espressif\tools\idf-git\2.44.0\cmd\
git version 2.44.0.windows.1
Activating ESP-IDF 5.5
Setting IDF_PATH to 'D:\esp-idf\Espressif\frameworks\esp-idf-v5.5'.
* Checking python version ... 3.11.2
* Checking python dependencies ... OK
* Deactivating the current ESP-IDF environment (if any) ... OK
* Establishing a new ESP-IDF environment ... FAILED
error: Command "D:\esp-idf\Espressif\python_env\idf5.5_py3.11_env\Scripts\python.exe D:\esp-idf\Espressif\frameworks\esp-idf-v5.5\tools\idf_tools.py export --format key-value --add_paths_extras
D:\esp-idf\Espressif\frameworks\esp-idf-v5.5\components\espcoredump;D:\esp-idf\Espressif\frameworks\esp-idf-v5.5\components\partition_table;D:\esp-idf\Espressif\frameworks\esp-idf-v5.5\components\app_update" failed with error code 1

WARNING: tool xtensa-esp-elf-gdb version 16.2_20250324 is installed, but has reported version unknown
ERROR: tool xtensa-esp-elf-gdb has no installed versions. Please run 'D:\esp-idf\Espressif\python_env\idf5.5_py3.11_env\Scripts\python.exe D:\esp-idf\Espressif\frameworks\esp-idf-v5.5\tools\idf_tools.py install' to install it.
WARNING: tool riscv32-esp-elf-gdb version 16.2_20250324 is installed, but has reported version unknown
ERROR: tool riscv32-esp-elf-gdb has no installed versions. Please run 'D:\esp-idf\Espressif\python_env\idf5.5_py3.11_env\Scripts\python.exe D:\esp-idf\Espressif\frameworks\esp-idf-v5.5\tools\idf_tools.py install' to install it.
WARNING: tool xtensa-esp-elf version esp-14.2.0_20241119 is installed, but has reported version unknown
ERROR: tool xtensa-esp-elf has no installed versions. Please run 'D:\esp-idf\Espressif\python_env\idf5.5_py3.11_env\Scripts\python.exe D:\esp-idf\Espressif\frameworks\esp-idf-v5.5\tools\idf_tools.py install' to install it.
WARNING: tool riscv32-esp-elf version esp-14.2.0_20241119 is installed, but has reported version unknown
ERROR: tool riscv32-esp-elf has no installed versions. Please run 'D:\esp-idf\Espressif\python_env\idf5.5_py3.11_env\Scripts\python.exe D:\esp-idf\Espressif\frameworks\esp-idf-v5.5\tools\idf_tools.py install' to install it.
WARNING: tool esp32ulp-elf version 2.38_20240113 is installed, but has reported version unknown
ERROR: tool esp32ulp-elf has no installed versions. Please run 'D:\esp-idf\Espressif\python_env\idf5.5_py3.11_env\Scripts\python.exe D:\esp-idf\Espressif\frameworks\esp-idf-v5.5\tools\idf_tools.py install' to install it.

ERROR: Activation script failed
Command '['D:\\esp-idf\\Espressif\\python_env\\idf5.5_py3.11_env\\Scripts\\python.exe', 'D:\\esp-idf\\Espressif\\frameworks\\esp-idf-v5.5\\tools\\export_utils\\activate_venv.py', '--export']' returned non-zero exit status 1.
To view detailed debug information, set ESP_IDF_EXPORT_DEBUG=1 and run the export script again.


有知道如何处理的吗?

Who is online

Users browsing this forum: No registered users and 3 guests