Problems Installing ESP-IDF Tools Installer

Vaccaro
Posts: 11
Joined: Tue Mar 19, 2019 12:13 pm

Problems Installing ESP-IDF Tools Installer

Postby Vaccaro » Wed Sep 25, 2019 5:26 pm

Hello everyone. I have always programmed esp32 using the arduino IDE. But recently I'm thinking of using some more advanced functions that Arduino doesn't allow me yet.

I started by following a guide provided by Espressif (https://docs.espressif.com/projects/esp ... setup.html) but couldn't go very far. When trying to use ESP-IDF Tool Installer I get to a point and get an error.

I can open the program, select the Python I have on the machine, select the Git 2.21.0 I have installed and choose to download ESP-IDF.

The program runs and installs everything, but in the end gives me the following error:

"installation has failed with exit code 2"

This is the part of the log that shows the error:

2019-09-25 14:23:30.467 Installation process succeeded.
2019-09-25 14:23:30.472 Setting PATH for this process: C:\Users\Marco Antônio Vaccar\AppData\Local\Programs\Python\Python37\;C:\Program Files\Git\cmd\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files (x86)\Microchip\xc32\v2.10\bin;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files (x86)\Brackets\command;C:\Program Files\nodejs\;C:\Program Files\Git\cmd;C:\Users\Marco Antônio Vaccar\AppData\Local\Programs\Python\Python37\Scripts\;C:\Users\Marco Antônio Vaccar\AppData\Local\Programs\Python\Python37\;C:\Users\Marco Antônio Vaccar\AppData\Local\Microsoft\WindowsApps;C:\Users\Marco Antônio Vaccar\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\Marco Antônio Vaccar\AppData\Roaming\npm;C:\Program Files\JetBrains\PyCharm Community Edition 2019.2.1\bin
2019-09-25 14:23:30.473 PYTHONPATH=
2019-09-25 14:23:30.473 Extracting temporary file: C:\Users\MARCOA~1\AppData\Local\Temp\is-UCPAL.tmp\7za.exe
2019-09-25 14:23:30.544 Extracting ESP-IDF reference repository: C:\Users\MARCOA~1\AppData\Local\Temp\is-UCPAL.tmp\7za.exe x -oC:\Users\MARCOA~1\AppData\Local\Temp\is-UCPAL.tmp -r -aoa C:\Users\Marco Antônio Vaccar\.espressif\releases\esp-idf-v3.3.zip
2019-09-25 14:23:30.544 Reference repository path: C:\Users\MARCOA~1\AppData\Local\Temp\is-UCPAL.tmp\esp-idf-v3.3
2019-09-25 14:23:30.915 Done, exit code=2
2019-09-25 14:23:30.915 --------
2019-09-25 14:23:30.915 Running command: C:\Users\MARCOA~1\AppData\Local\Temp\is-UCPAL.tmp\7za.exe x -oC:\Users\MARCOA~1\AppData\Local\Temp\is-UCPAL.tmp -r -aoa C:\Users\Marco Antônio Vaccar\.espressif\releases\esp-idf-v3.3.zip

7-Zip (a) 19.00 (x86) : Copyright (c) 1999-2018 Igor Pavlov : 2019-02-21

Scanning the drive for archives:

ERROR: O sistema nÆo pode encontrar o arquivo especificado.
C:\Users\Marco



System ERROR:
O sistema nÆo pode encontrar o arquivo especificado.

2019-09-25 14:23:30.915 --------
2019-09-25 14:23:30.915 Message box (OK):
Installation has failed with exit code 2


Someone know what is happening?

Ritesh
Posts: 1383
Joined: Tue Sep 06, 2016 9:37 am
Location: India
Contact:

Re: Problems Installing ESP-IDF Tools Installer

Postby Ritesh » Wed Sep 25, 2019 5:50 pm

Vaccaro wrote:
Wed Sep 25, 2019 5:26 pm
Hello everyone. I have always programmed esp32 using the arduino IDE. But recently I'm thinking of using some more advanced functions that Arduino doesn't allow me yet.

I started by following a guide provided by Espressif (https://docs.espressif.com/projects/esp ... setup.html) but couldn't go very far. When trying to use ESP-IDF Tool Installer I get to a point and get an error.

I can open the program, select the Python I have on the machine, select the Git 2.21.0 I have installed and choose to download ESP-IDF.

The program runs and installs everything, but in the end gives me the following error:

"installation has failed with exit code 2"

This is the part of the log that shows the error:

2019-09-25 14:23:30.467 Installation process succeeded.
2019-09-25 14:23:30.472 Setting PATH for this process: C:\Users\Marco Antônio Vaccar\AppData\Local\Programs\Python\Python37\;C:\Program Files\Git\cmd\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files (x86)\Microchip\xc32\v2.10\bin;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files (x86)\Brackets\command;C:\Program Files\nodejs\;C:\Program Files\Git\cmd;C:\Users\Marco Antônio Vaccar\AppData\Local\Programs\Python\Python37\Scripts\;C:\Users\Marco Antônio Vaccar\AppData\Local\Programs\Python\Python37\;C:\Users\Marco Antônio Vaccar\AppData\Local\Microsoft\WindowsApps;C:\Users\Marco Antônio Vaccar\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\Marco Antônio Vaccar\AppData\Roaming\npm;C:\Program Files\JetBrains\PyCharm Community Edition 2019.2.1\bin
2019-09-25 14:23:30.473 PYTHONPATH=
2019-09-25 14:23:30.473 Extracting temporary file: C:\Users\MARCOA~1\AppData\Local\Temp\is-UCPAL.tmp\7za.exe
2019-09-25 14:23:30.544 Extracting ESP-IDF reference repository: C:\Users\MARCOA~1\AppData\Local\Temp\is-UCPAL.tmp\7za.exe x -oC:\Users\MARCOA~1\AppData\Local\Temp\is-UCPAL.tmp -r -aoa C:\Users\Marco Antônio Vaccar\.espressif\releases\esp-idf-v3.3.zip
2019-09-25 14:23:30.544 Reference repository path: C:\Users\MARCOA~1\AppData\Local\Temp\is-UCPAL.tmp\esp-idf-v3.3
2019-09-25 14:23:30.915 Done, exit code=2
2019-09-25 14:23:30.915 --------
2019-09-25 14:23:30.915 Running command: C:\Users\MARCOA~1\AppData\Local\Temp\is-UCPAL.tmp\7za.exe x -oC:\Users\MARCOA~1\AppData\Local\Temp\is-UCPAL.tmp -r -aoa C:\Users\Marco Antônio Vaccar\.espressif\releases\esp-idf-v3.3.zip

7-Zip (a) 19.00 (x86) : Copyright (c) 1999-2018 Igor Pavlov : 2019-02-21

Scanning the drive for archives:

ERROR: O sistema nÆo pode encontrar o arquivo especificado.
C:\Users\Marco



System ERROR:
O sistema nÆo pode encontrar o arquivo especificado.

2019-09-25 14:23:30.915 --------
2019-09-25 14:23:30.915 Message box (OK):
Installation has failed with exit code 2


Someone know what is happening?
Which ESP32 IDF you are planning to use? Did you check requirement package lists provided into text file?
Regards,
Ritesh Prajapati

Vaccaro
Posts: 11
Joined: Tue Mar 19, 2019 12:13 pm

Re: Problems Installing ESP-IDF Tools Installer

Postby Vaccaro » Wed Sep 25, 2019 6:22 pm

I'm trying to use esp-idf-v3.3

What's requiriments? I'm justo following this guide https://docs.espressif.com/projects/esp ... setup.html. It just says I need a 64bit windows.

Ritesh
Posts: 1383
Joined: Tue Sep 06, 2016 9:37 am
Location: India
Contact:

Re: Problems Installing ESP-IDF Tools Installer

Postby Ritesh » Wed Sep 25, 2019 7:27 pm

Vaccaro wrote:
Wed Sep 25, 2019 6:22 pm
I'm trying to use esp-idf-v3.3

What's requiriments? I'm justo following this guide https://docs.espressif.com/projects/esp ... setup.html. It just says I need a 64bit windows.
There is one requirements text file will be present after cloning ESP32 IDF which you have ever to execute before compiling any sample code.
Regards,
Ritesh Prajapati

ESP_igrr
Posts: 2072
Joined: Tue Dec 01, 2015 8:37 am

Re: Problems Installing ESP-IDF Tools Installer

Postby ESP_igrr » Wed Sep 25, 2019 9:16 pm

This is completely unrelated to the requirements.txt file...

The issue is due to spaces in the path where IDF Tools are installed. It was fixed in this commit: https://github.com/espressif/esp-idf/co ... 55441cd20a, however we haven't released the new installer with that fix, yet. Could you please try this version? https://dl.espressif.com/dl/esp-idf-tools-setup-2.1.exe

Ritesh
Posts: 1383
Joined: Tue Sep 06, 2016 9:37 am
Location: India
Contact:

Re: Problems Installing ESP-IDF Tools Installer

Postby Ritesh » Thu Sep 26, 2019 1:56 am

ESP_igrr wrote:
Wed Sep 25, 2019 9:16 pm
This is completely unrelated to the requirements.txt file...

The issue is due to spaces in the path where IDF Tools are installed. It was fixed in this commit: https://github.com/espressif/esp-idf/co ... 55441cd20a, however we haven't released the new installer with that fix, yet. Could you please try this version? https://dl.espressif.com/dl/esp-idf-tools-setup-2.1.exe
Ok. Thanks for updates.
Regards,
Ritesh Prajapati

Who is online

Users browsing this forum: No registered users and 390 guests