Hello.
Python 3.9.5
ESPHome 1.18.0
C:\Users\sevif\Desktop\project>esphome example.yaml compile
←[32mINFO Reading configuration example.yaml...←[0m
←[31mERROR Unexpected exception while reading configuration:←[0m
Traceback (most recent call last):
File "c:\users\sevif\appdata\local\programs\python\python39-32\lib\runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "c:\users\sevif\appdata\local\programs\python\python39-32\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "C:\Users\sevif\AppData\Local\Programs\Python\Python39-32\Scripts\esphome.exe\__main__.py", line 7, in <module>
File "c:\users\sevif\appdata\local\programs\python\python39-32\lib\site-packages\esphome\__main__.py", line 642, in main
return run_esphome(sys.argv)
File "c:\users\sevif\appdata\local\programs\python\python39-32\lib\site-packages\esphome\__main__.py", line 620, in run_esphome
config = read_config(dict(args.substitution) if args.substitution else {})
File "c:\users\sevif\appdata\local\programs\python\python39-32\lib\site-packages\esphome\config.py", line 797, in read_config
res = load_config(command_line_substitutions)
File "c:\users\sevif\appdata\local\programs\python\python39-32\lib\site-packages\esphome\config.py", line 642, in load_config
return _load_config(command_line_substitutions)
File "c:\users\sevif\appdata\local\programs\python\python39-32\lib\site-packages\esphome\config.py", line 630, in _load_config
result = validate_config(config, command_line_substitutions)
File "c:\users\sevif\appdata\local\programs\python\python39-32\lib\site-packages\esphome\config.py", line 337, in validate_config
do_external_components_pass(config)
File "c:\users\sevif\appdata\local\programs\python\python39-32\lib\site-packages\esphome\components\external_components\__init__.py", line 197, in do_external_components_pass
_process_single_config(c)
File "c:\users\sevif\appdata\local\programs\python\python39-32\lib\site-packages\esphome\components\external_components\__init__.py", line 131, in _process_single_config
ret = subprocess.run(cmd, capture_output=True, check=False)
File "c:\users\sevif\appdata\local\programs\python\python39-32\lib\subprocess.py", line 505, in run
with Popen(*popenargs, **kwargs) as process:
File "c:\users\sevif\appdata\local\programs\python\python39-32\lib\subprocess.py", line 951, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "c:\users\sevif\appdata\local\programs\python\python39-32\lib\subprocess.py", line 1420, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] system cannot find file specified