ESP-IDF Extension for Visual Studio Code - install fail
Posted: Sun Jul 11, 2021 12:57 am
I tried to install the Espressif ESP-IDF Extension for Visual Studio Code. It was going well, until the following.
Can someone tell me what I should do?
I am not a programmer, I am hardware developer. Previously I have only done limited work with the Arduino IDE. VSC and the ESP-IDF is totally new to me. To put it bluntly, I'm lost.
VS Code information.
Version: 1.58.0 (user setup)
Commit: 2d23c42a936db1c7b3b06f918cde29561cc47cd6
Date: 2021-07-08T06:54:55.083Z
Electron: 12.0.13
Chrome: 89.0.4389.128
Node.js: 14.16.0
V8: 8.9.255.25-electron.0
OS: Windows_NT x64 10.0.19041
I was installing the default, ESP-IDF 4.3 with the Espressif IDF 1.1.0 installer for VSC.
Installing package Toolchain for Xtensa (ESP32) based on GCC
Installing zip package Toolchain for Xtensa (ESP32) based on GCC
Installing package Toolchain for Xtensa (ESP32-S2) based on GCC
Installing zip package Toolchain for Xtensa (ESP32-S2) based on GCC
Installing package Toolchain for Xtensa (ESP32-S3) based on GCC
Installing zip package Toolchain for Xtensa (ESP32-S3) based on GCC
Installing package Toolchain for 32-bit RISC-V based on GCC
Installing zip package Toolchain for 32-bit RISC-V based on GCC
Installing package Toolchain for ESP32 ULP coprocessor
Installing zip package Toolchain for ESP32 ULP coprocessor
Installing package Toolchain for ESP32-S2 ULP coprocessor
Installing zip package Toolchain for ESP32-S2 ULP coprocessor
Installing package CMake build system
Installing zip package CMake build system
Installing package OpenOCD for ESP32
Installing zip package OpenOCD for ESP32
Installing package Ninja build system
Installing zip package Ninja build system
Installing package IDF wrapper tool for Windows
Installing zip package IDF wrapper tool for Windows
Installing package Ccache (compiler cache)
Installing zip package Ccache (compiler cache)
Installing package dfu-util (Device Firmware Upgrade Utilities)
Installing zip package dfu-util (Device Firmware Upgrade Utilities)
Installing package Python Wheels distribution bundled for the specific version of IDF and Python
Installing zip package Python Wheels distribution bundled for the specific version of IDF and Python
Traceback (most recent call last):
File "C:\Users\Rudy\esp\esp-idf\tools\idf_tools.py", line 1672, in <module>
main(sys.argv[1:])
File "C:\Users\Rudy\esp\esp-idf\tools\idf_tools.py", line 1668, in main
action_func(args)
File "C:\Users\Rudy\esp\esp-idf\tools\idf_tools.py", line 1340, in action_install_python_env
idf_python_env_path, _, virtualenv_python = get_python_env_path()
File "C:\Users\Rudy\esp\esp-idf\tools\idf_tools.py", line 967, in get_python_env_path
idf_version_str = subprocess.check_output(['git', 'describe'],
File "subprocess.py", line 411, in check_output
File "subprocess.py", line 489, in run
File "subprocess.py", line 854, in __init__
File "subprocess.py", line 1307, in _execute_child
FileNotFoundError: [WinError 2] The system cannot find the file specified
Command failed: C:\Users\Rudy\.espressif\tools\idf-python\python.exe C:\Users\Rudy\esp\esp-idf\tools\idf_tools.py install-python-env
Traceback (most recent call last):
File "C:\Users\Rudy\esp\esp-idf\tools\idf_tools.py", line 1672, in <module>
main(sys.argv[1:])
File "C:\Users\Rudy\esp\esp-idf\tools\idf_tools.py", line 1668, in main
action_func(args)
File "C:\Users\Rudy\esp\esp-idf\tools\idf_tools.py", line 1340, in action_install_python_env
idf_python_env_path, _, virtualenv_python = get_python_env_path()
File "C:\Users\Rudy\esp\esp-idf\tools\idf_tools.py", line 967, in get_python_env_path
idf_version_str = subprocess.check_output(['git', 'describe'],
File "subprocess.py", line 411, in check_output
File "subprocess.py", line 489, in run
File "subprocess.py", line 854, in __init__
File "subprocess.py", line 1307, in _execute_child
FileNotFoundError: [WinError 2] The system cannot find the file specified
Command failed: C:\Users\Rudy\.espressif\tools\idf-python\python.exe C:\Users\Rudy\esp\esp-idf\tools\idf_tools.py install-python-env
Traceback (most recent call last):
File "C:\Users\Rudy\esp\esp-idf\tools\idf_tools.py", line 1672, in <module>
main(sys.argv[1:])
File "C:\Users\Rudy\esp\esp-idf\tools\idf_tools.py", line 1668, in main
action_func(args)
File "C:\Users\Rudy\esp\esp-idf\tools\idf_tools.py", line 1340, in action_install_python_env
idf_python_env_path, _, virtualenv_python = get_python_env_path()
File "C:\Users\Rudy\esp\esp-idf\tools\idf_tools.py", line 967, in get_python_env_path
idf_version_str = subprocess.check_output(['git', 'describe'],
File "subprocess.py", line 411, in check_output
File "subprocess.py", line 489, in run
File "subprocess.py", line 854, in __init__
File "subprocess.py", line 1307, in _execute_child
FileNotFoundError: [WinError 2] The system cannot find the file specified
Can someone tell me what I should do?
I am not a programmer, I am hardware developer. Previously I have only done limited work with the Arduino IDE. VSC and the ESP-IDF is totally new to me. To put it bluntly, I'm lost.
VS Code information.
Version: 1.58.0 (user setup)
Commit: 2d23c42a936db1c7b3b06f918cde29561cc47cd6
Date: 2021-07-08T06:54:55.083Z
Electron: 12.0.13
Chrome: 89.0.4389.128
Node.js: 14.16.0
V8: 8.9.255.25-electron.0
OS: Windows_NT x64 10.0.19041
I was installing the default, ESP-IDF 4.3 with the Espressif IDF 1.1.0 installer for VSC.
Installing package Toolchain for Xtensa (ESP32) based on GCC
Installing zip package Toolchain for Xtensa (ESP32) based on GCC
Installing package Toolchain for Xtensa (ESP32-S2) based on GCC
Installing zip package Toolchain for Xtensa (ESP32-S2) based on GCC
Installing package Toolchain for Xtensa (ESP32-S3) based on GCC
Installing zip package Toolchain for Xtensa (ESP32-S3) based on GCC
Installing package Toolchain for 32-bit RISC-V based on GCC
Installing zip package Toolchain for 32-bit RISC-V based on GCC
Installing package Toolchain for ESP32 ULP coprocessor
Installing zip package Toolchain for ESP32 ULP coprocessor
Installing package Toolchain for ESP32-S2 ULP coprocessor
Installing zip package Toolchain for ESP32-S2 ULP coprocessor
Installing package CMake build system
Installing zip package CMake build system
Installing package OpenOCD for ESP32
Installing zip package OpenOCD for ESP32
Installing package Ninja build system
Installing zip package Ninja build system
Installing package IDF wrapper tool for Windows
Installing zip package IDF wrapper tool for Windows
Installing package Ccache (compiler cache)
Installing zip package Ccache (compiler cache)
Installing package dfu-util (Device Firmware Upgrade Utilities)
Installing zip package dfu-util (Device Firmware Upgrade Utilities)
Installing package Python Wheels distribution bundled for the specific version of IDF and Python
Installing zip package Python Wheels distribution bundled for the specific version of IDF and Python
Traceback (most recent call last):
File "C:\Users\Rudy\esp\esp-idf\tools\idf_tools.py", line 1672, in <module>
main(sys.argv[1:])
File "C:\Users\Rudy\esp\esp-idf\tools\idf_tools.py", line 1668, in main
action_func(args)
File "C:\Users\Rudy\esp\esp-idf\tools\idf_tools.py", line 1340, in action_install_python_env
idf_python_env_path, _, virtualenv_python = get_python_env_path()
File "C:\Users\Rudy\esp\esp-idf\tools\idf_tools.py", line 967, in get_python_env_path
idf_version_str = subprocess.check_output(['git', 'describe'],
File "subprocess.py", line 411, in check_output
File "subprocess.py", line 489, in run
File "subprocess.py", line 854, in __init__
File "subprocess.py", line 1307, in _execute_child
FileNotFoundError: [WinError 2] The system cannot find the file specified
Command failed: C:\Users\Rudy\.espressif\tools\idf-python\python.exe C:\Users\Rudy\esp\esp-idf\tools\idf_tools.py install-python-env
Traceback (most recent call last):
File "C:\Users\Rudy\esp\esp-idf\tools\idf_tools.py", line 1672, in <module>
main(sys.argv[1:])
File "C:\Users\Rudy\esp\esp-idf\tools\idf_tools.py", line 1668, in main
action_func(args)
File "C:\Users\Rudy\esp\esp-idf\tools\idf_tools.py", line 1340, in action_install_python_env
idf_python_env_path, _, virtualenv_python = get_python_env_path()
File "C:\Users\Rudy\esp\esp-idf\tools\idf_tools.py", line 967, in get_python_env_path
idf_version_str = subprocess.check_output(['git', 'describe'],
File "subprocess.py", line 411, in check_output
File "subprocess.py", line 489, in run
File "subprocess.py", line 854, in __init__
File "subprocess.py", line 1307, in _execute_child
FileNotFoundError: [WinError 2] The system cannot find the file specified
Command failed: C:\Users\Rudy\.espressif\tools\idf-python\python.exe C:\Users\Rudy\esp\esp-idf\tools\idf_tools.py install-python-env
Traceback (most recent call last):
File "C:\Users\Rudy\esp\esp-idf\tools\idf_tools.py", line 1672, in <module>
main(sys.argv[1:])
File "C:\Users\Rudy\esp\esp-idf\tools\idf_tools.py", line 1668, in main
action_func(args)
File "C:\Users\Rudy\esp\esp-idf\tools\idf_tools.py", line 1340, in action_install_python_env
idf_python_env_path, _, virtualenv_python = get_python_env_path()
File "C:\Users\Rudy\esp\esp-idf\tools\idf_tools.py", line 967, in get_python_env_path
idf_version_str = subprocess.check_output(['git', 'describe'],
File "subprocess.py", line 411, in check_output
File "subprocess.py", line 489, in run
File "subprocess.py", line 854, in __init__
File "subprocess.py", line 1307, in _execute_child
FileNotFoundError: [WinError 2] The system cannot find the file specified