Trouble to install IDF

B.Botond
Posts: 6
Joined: Sun Dec 19, 2021 3:41 pm

Trouble to install IDF

Postby B.Botond » Tue Mar 15, 2022 11:26 am

Hi,

I want to install the IDF on my computer. (On my laptop is working very well)

I tested:
esp-idf-tools-setup-online-2.13 and esp-idf-tools-setup-online-2.14-beta-02 tools.

Both tools are not working.

Eclipse install error

Installing tools...
This can take a while. Please be patient.
Executing C:\Users\Dell\AppData\Local\Programs\Python\Python38-32\python.exe C:\Espressif\frameworks\esp-idf-v4.4\tools\idf_tools.py install all
Traceback (most recent call last):
File "C:\Espressif\frameworks\esp-idf-v4.4\tools\idf_tools.py", line 1828, in <module>
main(sys.argv[1:])
File "C:\Espressif\frameworks\esp-idf-v4.4\tools\idf_tools.py", line 1824, in main
action_func(args)
File "C:\Espressif\frameworks\esp-idf-v4.4\tools\idf_tools.py", line 1415, in action_install
tools_info = load_tools_info()
File "C:\Espressif\frameworks\esp-idf-v4.4\tools\idf_tools.py", line 942, in load_tools_info
with open(tool_versions_file_name, 'r') as f: # type: ignore
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\user-name\\esp\\esp-idf\\tools/tools.json'

Executing C:\Users\Dell\AppData\Local\Programs\Python\Python38-32\python.exe C:\Espressif\frameworks\esp-idf-v4.4\tools\idf_tools.py install-python-env
WARNING: Git was not found
WARNING: Is it not possible to determine the IDF version: [Errno 2] No such file or directory: 'C:\\Users\\user-name\\esp\\esp-idf\\components\\esp_common\\include\\esp_idf_version.h'
ERROR: IDF version cannot be determined

Executing C:\Users\Dell\AppData\Local\Programs\Python\Python38-32\python.exe C:\Espressif\frameworks\esp-idf-v4.4\tools\idf_tools.py export --format=key-value
Traceback (most recent call last):
File "C:\Espressif\frameworks\esp-idf-v4.4\tools\idf_tools.py", line 1828, in <module>
main(sys.argv[1:])
File "C:\Espressif\frameworks\esp-idf-v4.4\tools\idf_tools.py", line 1824, in main
action_func(args)
File "C:\Espressif\frameworks\esp-idf-v4.4\tools\idf_tools.py", line 1174, in action_export
tools_info = load_tools_info()
File "C:\Espressif\frameworks\esp-idf-v4.4\tools\idf_tools.py", line 942, in load_tools_info
with open(tool_versions_file_name, 'r') as f: # type: ignore
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\user-name\\esp\\esp-idf\\tools/tools.json'
Configured CDT Build Environment variables. You can check Preferences > C/C++ > Build > Environment
Configured CMake toolchain. You can check Preferences > C/C++ > CMake
Install tools completed.


Windows cmd.exe:

C:\Users\Dell>python --version
Python 3.8.6

C:\Users\Dell>git --version
git version 2.35.1.windows.2


I used also the git from the espressif installation, as you can see on the picture.

I tested with Python 3.10.2/3.9 too i get the same error. I don't know what should I do. I need some help.

Thank you in advance.

Best regadrs,
Botond
Attachments
idf_setup.PNG
idf_setup.PNG (15.77 KiB) Viewed 1625 times

Who is online

Users browsing this forum: Gaston1980, Majestic-12 [Bot] and 239 guests