"Installing tools..." problem: trying to add: ESP-IDF (IEP-1473)
I have tried to add ESP-IDF using an already downloaded ESP-IDF (5.3.1), and also tried with having the plug-in install a version via plug-in download, and it fails in both cases (environment: Windows 10)
Error log:
Traceback (most recent call last):
File "W:\Development\esp-idf-v5.3.2\tools\idf_tools.py", line 3239, in
Hi @georgewicks! This is an automated response. If you don’t find the answer helpful, please check the ESP32 IDE forum (https://www.esp32.com/viewforum.php?f=40) or GitHub issues (https://github.com/espressif/idf-eclipse-plugin/issues) to see if the issue has already been discussed.
Based on the information provided in the knowledge sources, I can offer the following response to the user's issue with Espressif-IDE:
It appears you're encountering an error while trying to install ESP-IDF tools within the Espressif-IDE. The error suggests there might be an issue with the tools.json file in your ESP-IDF installation, specifically related to the supported_targets field for the xtensa-esp32-elf tool.
To troubleshoot this issue, you can try the following steps:
-
Ensure you have the latest version of Espressif-IDE installed. You can download it from the Espressif-IDE downloads page.
-
If you're using an already downloaded ESP-IDF, make sure it's a clean installation and hasn't been modified. You might want to try downloading a fresh copy of ESP-IDF v5.3.1 or v5.3.2.
-
If the issue persists, try using the ESP-IDF Manager within Espressif-IDE to install ESP-IDF:
- Go to
Espressif > ESP-IDF Manager - Click on
Add ESP-IDF - Choose to download ESP-IDF directly from the dialog instead of using an existing installation
- Go to
-
Make sure you have the necessary prerequisites installed correctly:
- Java
- Python (not from a virtual environment)
- Git
-
If you continue to experience issues, you can check the Error Log for more details:
- Go to
Window > Show View > Error Log - Export the log and include it when seeking further assistance
- Go to
If these steps don't resolve the issue, you may want to report this problem to the Espressif support team or on the ESP32 Forum for IDEs, providing the full error log and details about your setup.
For more information on installation and troubleshooting, you can refer to the Espressif-IDE Installation Guide and the Troubleshooting Guide.
Hi @georgewicks,
Could you please try the latest release and check if the problem occurs there? Link
I have tried with Espressif-IDE 3.3.0 installing IDF5.1 and I have similar problem:
Traceback (most recent call last):
File "C:\Espressif\ESP-IDF\esp-idf-v5.1\tools\idf_tools.py", line 2831, in
Hi @FabITA1,
I see you're using Python from the Microsoft Store. Which path did you select for the Python executable when installing the tools? From the error, I see it could be 'C:\Users\abcdefg\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\python.exe', which is a stub that redirects execution. Make sure that the path looks like this for Microsoft Python
If that doesn't help, I recommend installing Python from the official source: python.org.
Hi @sigmaaa, thanks for your reply. I think it was my problem. I reinstelled the whole suite using the setup utility and now works correctly Sorry for the false reporting...
As I said, I installed a new enviroment. This installed the Espressif-IDE 3.1.0 and it works fine. When upgrade to 3.3.0 with "check for update" menu, I obtain many errors of the type attached.
As I said, I installed a new enviroment. This installed the Espressif-IDE 3.1.0 and it works fine. When upgrade to 3.3.0 with "check for update" menu, I obtain many errors of the type attached.
It seems that the issue you're encountering might be related to the latest Eclipse CDT 12. Have you also updated both Eclipse and the CDT plugin? Currently, we support Eclipse version 24-09 and CDT version 11.6.0. We are working on supporting the latest version, and it will be available in the next release.
To avoid compatibility issues, I recommend downloading Espressif-IDE from this link. Alternatively, you can install the Espressif plugin on top of Eclipse CDT 11.6 downloaded from here.
As I said, I installed a new enviroment. This installed the Espressif-IDE 3.1.0 and it works fine. When upgrade to 3.3.0 with "check for update" menu, I obtain many errors of the type attached.
It seems that the issue you're encountering might be related to the latest Eclipse CDT 12. Have you also updated both Eclipse and the CDT plugin? Currently, we support Eclipse version 24-09 and CDT version 11.6.0. We are working on supporting the latest version, and it will be available in the next release.
To avoid compatibility issues, I recommend downloading Espressif-IDE from this link. Alternatively, you can install the Espressif plugin on top of Eclipse CDT 11.6 downloaded from here.
If updating the CDT plugin is the issue, it's possible to revert the update via the Installation History : Help -> About Eclipse IDE -> Installation Details -> Revert
I have installed the tool using the tool download from here: https://dl.espressif.com/dl/esp-idf/ This tool install the Espressif-IDE 3.1.0. Then, from the Espressif-IDE, I updeted all it proposed from "Check for update" command. Now I have download the only Espressif-IDE from the link you suggest and replaced manually the old 3.1.0: this seems to works. I'll do some more checks. Tanks @sigmaaa