Hello, I tried everything, but failed. During any version of IDE I got this error during tools installation.
Python 3.9.16
pip 22.3.1 from C:\Espressif\python_env\idf4.3_py3.9_env\lib\site-packages\pip (python 3.9)
Requirement already satisfied: pip in c:\espressif\python_env\idf4.3_py3.9_env\lib\site-packages (22.3.1)
Requirement already satisfied: setuptools in c:\espressif\python_env\idf4.3_py3.9_env\lib\site-packages (65.6.3)
WARNING: Download failure HTTP Error 404: Not Found
Upgrading pip and setuptools...
Downloading https://dl.espressif.com/dl/esp-idf/esp ... s.v4.3.txt
Destination: C:\Espressif\espidf.constraints.v4.3.txt.tmp
WARNING: Failed to download https://dl.espressif.com/dl/esp-idf/esp ... s.v4.3.txt to C:\Espressif\espidf.constraints.v4.3.txt.tmp
WARNING: Download failure HTTP Error 404: Not Found
Downloading https://dl.espressif.com/dl/esp-idf/esp ... s.v4.3.txt
Destination: C:\Espressif\espidf.constraints.v4.3.txt.tmp
WARNING: Failed to download https://dl.espressif.com/dl/esp-idf/esp ... s.v4.3.txt to C:\Espressif\espidf.constraints.v4.3.txt.tmp
WARNING: Download failure HTTP Error 404: Not Found
Downloading https://dl.espressif.com/dl/esp-idf/esp ... s.v4.3.txt
Destination: C:\Espressif\espidf.constraints.v4.3.txt.tmp
WARNING: Failed to download https://dl.espressif.com/dl/esp-idf/esp ... s.v4.3.txt to C:\Espressif\espidf.constraints.v4.3.txt.tmp
ERROR: Failed to download, and retry count has expired
See the help on how to disable constraints in order to work around this issue.
Traceback (most recent call last):
File "C:\Espressif\frameworks\esp-idf-v5.0\tools\idf_tools.py", line 2529, in <module>
main(sys.argv[1:])
File "C:\Espressif\frameworks\esp-idf-v5.0\tools\idf_tools.py", line 2521, in main
action_func(args)
File "C:\Espressif\frameworks\esp-idf-v5.0\tools\idf_tools.py", line 2020, in action_install_python_env
constraint_file = get_constraints(idf_version)
File "C:\Espressif\frameworks\esp-idf-v5.0\tools\idf_tools.py", line 1908, in get_constraints
raise DownloadError()
__main__.DownloadError
Executing C:\Users\User\AppData\Local\Programs\Python\Python39\python.exe C:\Espressif\frameworks\esp-idf-v5.0\tools\idf_tools.py export --format=key-value
Traceback (most recent call last):
File "C:\Espressif\frameworks\esp-idf-v5.0\tools\idf_tools.py", line 2529, in <module>
main(sys.argv[1:])
File "C:\Espressif\frameworks\esp-idf-v5.0\tools\idf_tools.py", line 2521, in main
action_func(args)
File "C:\Espressif\frameworks\esp-idf-v5.0\tools\idf_tools.py", line 1529, in action_export
tools_info = load_tools_info()
File "C:\Espressif\frameworks\esp-idf-v5.0\tools\idf_tools.py", line 1213, in load_tools_info
return parse_tools_info_json(tools_info) # type: ignore
File "C:\Espressif\frameworks\esp-idf-v5.0\tools\idf_tools.py", line 1231, in parse_tools_info_json
tool = IDFTool.from_json(tool_dict)
File "C:\Espressif\frameworks\esp-idf-v5.0\tools\idf_tools.py", line 854, in from_json
raise RuntimeError('supported_targets for tool %s is not a list of strings' % tool_name)
RuntimeError: supported_targets for tool xtensa-esp32-elf is not a list of strings
Executing C:\Users\User\AppData\Local\Programs\Python\Python39\python.exe -m pip install websocket-client
Requirement already satisfied: websocket-client in c:\users\user\appdata\local\programs\python\python39\lib\site-packages (1.4.2)
WARNING: You are using pip version 22.0.4; however, version 22.3.1 is available.
You should consider upgrading via the 'C:\Users\User\AppData\Local\Programs\Python\Python39\python.exe -m pip install --upgrade pip' command.
Operations completed!
info:
CDT Build environment variables
PATH: C:\Program Files\Git\cmd;C:\Program Files\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files\ImageMagick-7.0.8-Q8;C:\Program Files (x86)\WinAVR\bin;C:\Program Files (x86)\WinAVR\utils\bin;C:\Program Files (x86)\Common Files\Intel\Shared Files\cpp\bin\Intel64;C:\Program Files\ImageMagick-6.9.8-Q8;C:\Program Files\ImageMagick-7.0.5-Q8;C:\Program Files\ImageMagick-7.0.5-Q16;c:\avr8-gnu-toolchain\bin\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\WIDCOMM\Bluetooth Software\;C:\Program Files\WIDCOMM\Bluetooth Software\syswow64;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files\OpenVPN\bin;C:\Program Files (x86)\Microchip\xc32\v1.42\bin;C:\Microchip\xc32\v1.42\bin;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64;c:\MinGW\msys\1.0\bin\;C:\adb;C:\Program Files (x86)\Intel\Services\IPT\;C:\Program Files (x86)\AOMEI Backupper;C:\Program Files (x86)\STMicroelectronics\STM32 ST-LINK Utility\ST-LINK Utility;C:\Program Files (x86)\QuickTime Alternative\QTSystem;c:\msys32\home\User\esp\esp-idf\tools\;c:\Program Files\Java\jdk-11.0.8\bin\;C:\Program Files\Microchip\xc8\v2.32\bin;C:\Program Files\Microchip\xc32\v4.00\bin;C:\Program Files\bladeRF\x64;C:\Users\User\AppData\Local\Programs\Python\Python39\Scripts\;C:\Users\User\AppData\Local\Programs\Python\Python39\;C:\Infineon\LauncherService;C:\Users\User\Desktop\node-v6.9.5-win-x64;c:\cygwin64\bin\;C:\Infineon\LauncherService;C:\Infineon\Developer Center Launcher;C:\Users\User\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\User\.espressif\tools\xtensa-esp32s2-elf\esp-2022r1-11.2.0\xtensa-esp32s2-elf\bin;C:\Users\User\.espressif\tools\esp32ulp-elf\2.35_20220830\esp32ulp-elf\bin;C:\Users\User\.espressif\tools\ninja\1.10.2;C:\Users\User\.espressif\tools\ccache\4.6.2\ccache-4.6.2-windows-x86_64;C:\Users\User\.espressif\tools\xtensa-esp-elf-gdb\11.2_20220823\xtensa-esp-elf-gdb\bin;C:\Users\User\.espressif\tools\openocd-esp32\v0.11.0-esp32-20221026\openocd-esp32\bin;C:\Users\User\.espressif\tools\riscv32-esp-elf\esp-2022r1-11.2.0\riscv32-esp-elf\bin;C:\Users\User\.espressif\tools\riscv32-esp-elf-gdb\11.2_20220823\riscv32-esp-elf-gdb\bin;C:\Users\User\.espressif\tools\xtensa-esp32s3-elf\esp-2022r1-11.2.0\xtensa-esp32s3-elf\bin;C:\Users\User\.espressif\tools\xtensa-esp32-elf\esp-2022r1-11.2.0\xtensa-esp32-elf\bin;C:\Users\User\.espressif\tools\dfu-util\0.9\dfu-util-0.9-win64;C:\Users\User\.espressif\tools\idf-exe\1.0.3;C:\Users\User\.espressif\tools\cmake\3.16.3\bin
PROCESSOR_LEVEL: 6
FP_NO_HOST_CHECK: NO
ANS_OLD_ATTACH: 1
SESSIONNAME: Console
ALLUSERSPROFILE: C:\ProgramData
PROCESSOR_ARCHITECTURE: AMD64
PSModulePath: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
SystemDrive: C:
USERNAME: User
ProgramFiles(x86): C:\Program Files (x86)
DokanLibrary1_LibraryPath_x64: C:\Program Files\Dokan\Dokan Library-1.4.1\lib\
PATHEXT: .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
KEYSHOT_EXTERNAL_LICENSE_FOLDER: C:\Program Files\DesignSpark\DesignSpark Mechanical 5.0\
tool: IDFTool.from_json(tool_dict)
ProgramData: C:\ProgramData
IDF_COMPONENT_MANAGER: 1
ProgramW6432: C:\Program Files
AVR32_HOME: C:\Program Files (x86)\WinAVR
HOMEPATH: \Users\User
PROCESSOR_IDENTIFIER: Intel64 Family 6 Model 58 Stepping 9, GenuineIntel
ESET_OPTIONS:
IFX_TOOLBOX_UUID: 7d9cef74-2e76-3644-947a-bd92a8fd8c50
PYTHON_EXE_PATH: C:\Users\User\AppData\Local\Programs\Python\Python39\python.exe
ProgramFiles: C:\Program Files
PUBLIC: C:\Users\Public
windir: C:\Windows
C_EM64T_REDIST11: C:\Program Files (x86)\Common Files\Intel\Shared Files\cpp\
LOCALAPPDATA: C:\Users\User\AppData\Local
GIT_PATH: C:\Program Files\Git\cmd\git.EXE
USERDOMAIN: DELL6520
LOGONSERVER: \\DELL6520
IDF_TOOLS_PATH: C:\Espressif
asl.log: Destination=file
APPDATA: C:\Users\User\AppData\Roaming
windows_tracing_logfile: C:\BVTBin\Tests\installpackage\csilogfile.log
DokanLibrary1: C:\Program Files\Dokan\Dokan Library-1.4.1\
VBOX_MSI_INSTALL_PATH: C:\Program Files\Oracle\VirtualBox\
DokanLibrary1_LibraryPath_x86: C:\Program Files\Dokan\Dokan Library-1.4.1\x86\lib\
CommonProgramFiles: C:\Program Files\Common Files
OS: Windows_NT
windows_tracing_flags: 3
COMPUTERNAME: DELL6520
IDF_PATH: C:/Espressif/frameworks/esp-idf-v5.0/
CARBON_MEM_DISABLE: 1
PROCESSOR_REVISION: 3a09
CommonProgramW6432: C:\Program Files\Common Files
ComSpec: C:\Windows\system32\cmd.exe
tools_info: load_tools_info()
TEMP: C:\Users\User\AppData\Local\Temp
SystemRoot: C:\Windows
HOMEDRIVE: C:
USERPROFILE: C:\Users\User
TMP: C:\Users\User\AppData\Local\Temp
CommonProgramFiles(x86): C:\Program Files (x86)\Common Files
NUMBER_OF_PROCESSORS: 8
WDIR_PADSVX_2_7: C:\PADSViewer Projects
Operating System: windows 7
Java Runtime Version: 11.0.17+8-LTS
Eclipse Version: 4.25.0.v20220831-1800
Eclipse CDT Version: 10.7.1.202208160035
IDF Eclipse Plugin Version: 2.7.0.202211101524
Please use idf.py only in an ESP-IDF shell environment.
Python set for IDF_PYTHON_ENV: Python 3.9.16
Thank you .
Eclipse/ESP IDE tools installation error
Who is online
Users browsing this forum: No registered users and 48 guests