Code: Select all
WARNING: Git was not found
WARNING: Git was not found
WARNING: Git was not found
WARNING: Git was not found
WARNING: Git was not found
WARNING: Git was not found
WARNING: Git was not found
WARNING: Git was not found
WARNING: Git was not found
Checking Python dependencies...
Python requirements are satisfied.
Constraint file: /home/eccles/.espressif/espidf.constraints.v5.1.txt
Requirement files:
- /home/eccles/esp/esp-idf-v5.1.1/tools/requirements/requirements.core.txt
Python being checked: /home/eccles/.espressif/python_env/idf5.1_py3.10_env/bin/python
Executing action: app
Traceback (most recent call last):
File "/home/eccles/esp/esp-idf-v5.1.1/tools/idf.py", line 773, in <module>
main()
File "/home/eccles/esp/esp-idf-v5.1.1/tools/idf.py", line 708, in main
cli(sys.argv[1:], prog_name=PROG, complete_var=SHELL_COMPLETE_VAR)
File "/home/eccles/.espressif/python_env/idf5.1_py3.10_env/lib/python3.10/site-packages/click/core.py", line 1157, in __call__
return self.main(*args, **kwargs)
File "/home/eccles/.espressif/python_env/idf5.1_py3.10_env/lib/python3.10/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
File "/home/eccles/.espressif/python_env/idf5.1_py3.10_env/lib/python3.10/site-packages/click/core.py", line 1720, in invoke
return _process_result(rv)
File "/home/eccles/.espressif/python_env/idf5.1_py3.10_env/lib/python3.10/site-packages/click/core.py", line 1657, in _process_result
value = ctx.invoke(self._result_callback, value, **ctx.params)
File "/home/eccles/.espressif/python_env/idf5.1_py3.10_env/lib/python3.10/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "/home/eccles/esp/esp-idf-v5.1.1/tools/idf.py", line 605, in execute_tasks
task(ctx, global_args, task.action_args)
File "/home/eccles/esp/esp-idf-v5.1.1/tools/idf.py", line 187, in __call__
self.callback(self.name, context, global_args, **action_args)
File "/home/eccles/esp/esp-idf-v5.1.1/tools/idf_py_actions/core_ext.py", line 33, in build_target
ensure_build_directory(args, ctx.info_name)
File "/home/eccles/esp/esp-idf-v5.1.1/tools/idf_py_actions/tools.py", line 471, in ensure_build_directory
debug_print_idf_version()
File "/home/eccles/esp/esp-idf-v5.1.1/tools/idf_py_actions/tools.py", line 134, in debug_print_idf_version
print_warning(f'ESP-IDF {idf_version() or "version unknown"}')
File "/home/eccles/esp/esp-idf-v5.1.1/tools/idf_py_actions/tools.py", line 70, in idf_version
version: Optional[str] = subprocess.check_output([
File "/usr/lib/python3.10/subprocess.py", line 421, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib/python3.10/subprocess.py", line 503, in run
with Popen(*popenargs, **kwargs) as process:
File "/usr/lib/python3.10/subprocess.py", line 971, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.10/subprocess.py", line 1863, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'git'
Any assistance will be much appreciated.