I have been getting the same error message on multiple attempts to download this software setup on three different Windows computers (from link: Standard Setup of Toolchain for Windows - ESP32 - — ESP-IDF Programming Guide v4.2.1 documentation). The exact error message is: “Installation has failed with exit code 1”. Here are a few more lines in particular from the ErrorLog:
Installing Python environment:C:\Python27\python.exe
Done, exit code=1
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at Release process - pip documentation v21.2.dev0 pip 21.0 will remove support for this functionality.
ERROR: Could not install packages due to an EnvironmentError: [Errno 2] No such file or directory: u’\\\…Desktop\esp-idf\tools\kconfig_new\esp-windows-curses’
Let me know if I should provide more information about my method of installing this program.
Thanks!