Could not initialize project

Hello,
I couldn’t initalize a new project on PlatformIO. The problem description is below.
I have the latest versions:
VS Code: 1.49.1
PlatformIO: 2.1.0
The platforms are also updated.
Please help!

PIO Core Call Error:

“The current working directory C:UsersschwarztDocumentsPlatformIOProjectskd will be used for the project.

The next files/directories have been created in C:UsersschwarztDocumentsPlatformIOProjectskd
include - Put project header files here
lib - Put here project specific (private) libraries
src - Put project source files here
platformio.ini - Project Configuration File


Error: Processing esp32dev (platform: espressif32; board: esp32dev; framework: espidf)
--------------------------------------------------------------------------------
Verbose mode can be enabled via -v, --verbose option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32dev.html
PLATFORM: Espressif 32 (2.0.0) > Espressif ESP32 Dev Module
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (esp-prog) External (esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES: 
 - framework-espidf 3.40100.200827 (4.1.0) 
 - tool-cmake 3.16.4 
 - tool-esptoolpy 1.20600.0 (2.6.0) 
 - tool-idf 1.0.1 
 - tool-mconf 1.4060000.20190628 (406.0.0) 
 - tool-ninja 1.9.0 
 - toolchain-esp32ulp 1.22851.191205 (2.28.51) 
 - toolchain-xtensa32 2.80200.200827 (8.2.0)
Reading CMake configuration…
-- Could NOT find Git (missing: GIT_EXECUTABLE) 
-- The C compiler identification is GNU 8.2.0
-- The CXX compiler identification is GNU 8.2.0
-- The ASM compiler identification is GNU
-- Found assembler: C:/Users/schwarzt/.platformio/packages/toolchain-xtensa32/bin/xtensa-esp32-elf-gcc.exe
-- Check for working C compiler: C:/Users/schwarzt/.platformio/packages/toolchain-xtensa32/bin/xtensa-esp32-elf-gcc.exe
-- Check for working C compiler: C:/Users/schwarzt/.platformio/packages/toolchain-xtensa32/bin/xtensa-esp32-elf-gcc.exe – works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: C:/Users/schwarzt/.platformio/packages/toolchain-xtensa32/bin/xtensa-esp32-elf-g++.exe
-- Check for working CXX compiler: C:/Users/schwarzt/.platformio/packages/toolchain-xtensa32/bin/xtensa-esp32-elf-g++.exe – works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Project is not inside a git repository, or git repository has no commits; will not use ‘git describe’ to determine PROJECT_VER.
-- Project version: 1
-- Building ESP-IDF components for target esp32
-- Checking Python dependencies…
-- Configuring incomplete, errors occurred!
See also “C:/Users/schwarzt/Documents/PlatformIO/Projects/kd/.pio/build/esp32dev/CMakeFiles/CMakeOutput.log”.

CMake Warning at C:/Users/schwarzt/.platformio/packages/framework-espidf/tools/cmake/git_submodules.cmake:4 (message):
 Git executable was not found. Git submodule checks will not be executed.
 If you have any build issues at all, start by adding git executable to the
 PATH and rerun cmake to not see this warning again.
Call Stack (most recent call first):
 C:/Users/schwarzt/.platformio/packages/framework-espidf/tools/cmake/idf.cmake:39 (include)
 C:/Users/schwarzt/.platformio/packages/framework-espidf/tools/cmake/project.cmake:7 (include)
 CMakeLists.txt:2 (include)


CMake Error at C:/Users/schwarzt/.platformio/packages/framework-espidf/tools/cmake/build.cmake:271 (message):
 Some Python dependencies must be installed. Check above message for
 details.
Call Stack (most recent call first):
 C:/Users/schwarzt/.platformio/packages/framework-espidf/tools/cmake/build.cmake:397 (__build_check_python)
 C:/Users/schwarzt/.platformio/packages/framework-espidf/tools/cmake/project.cmake:396 (idf_build_process)
 CMakeLists.txt:3 (project)

========================= [FAILED] Took 10.81 seconds ========================="

So have you done what the error message you posted told you to do? Install git?

I forgot :roll_eyes:
Thanks!