platformio / platformio-home

PlatformIO Home
https://docs.platformio.org/page/home/index.html
Apache License 2.0
93 stars 62 forks source link

Could not initialize project #5497

Open Klever990929 opened 1 year ago

Klever990929 commented 1 year ago

PIO Core Call Error: "The current working directory /Users/hanfanyu/Documents/PlatformIO/Projects/Drv-V2-IDF will be used for the project.\n\nThe next files/directories have been created in /Users/hanfanyu/Documents/PlatformIO/Projects/Drv-V2-IDF\ninclude - Put project header files here\nlib - Put here project specific (private) libraries\nsrc - Put project source files here\nplatformio.ini - Project Configuration File\nResolving esp-wrover-kit dependencies...\nTool Manager: Installing espressif/toolchain-xtensa-esp32 @ 11.2.0+2022r1\nDownloading 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%\nUnpacking\nTool Manager: toolchain-xtensa-esp32@11.2.0+2022r1 has been installed!\nTool Manager: Installing platformio/toolchain-esp32ulp @ ~1.23500.0\nDownloading 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%\nUnpacking\nTool Manager: toolchain-esp32ulp@1.23500.220830 has been installed!\nTool Manager: Installing platformio/framework-espidf @ ~3.50000.0\nDownloading 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%\nUnpacking\nTool Manager: framework-espidf@3.50000.0 has been installed!\nTool Manager: Installing platformio/tool-cmake @ ~3.16.0\nDownloading 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%\nUnpacking\nTool Manager: tool-cmake@3.16.4 has been installed!\nTool Manager: Installing platformio/tool-ninja @ ^1.7.0\nDownloading 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%\nUnpacking\nTool Manager: tool-ninja@1.9.0 has been installed!\nAlready up-to-date.\nUpdating metadata for the vscode IDE...\n\n\nError: Processing esp-wrover-kit (platform: espressif32; board: esp-wrover-kit; framework: espidf)\n--------------------------------------------------------------------------------\nVerbose mode can be enabled via -v, --verbose option\nCONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp-wrover-kit.html\nPLATFORM: Espressif 32 (6.0.1) > Espressif ESP-WROVER-KIT\nHARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash\nDEBUG: Current (ftdi) On-board (ftdi) External (cmsis-dap, esp-bridge, 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)\nPACKAGES: \n - framework-espidf @ 3.50000.0 (5.0.0) \n - tool-cmake @ 3.16.4 \n - tool-esptoolpy @ 1.40400.0 (4.4.0) \n - tool-ninja @ 1.9.0 \n - toolchain-esp32ulp @ 1.23500.220830 (2.35.0) \n - toolchain-xtensa-esp32 @ 11.2.0+2022r1\nCreating a virtual environment for IDF Python dependencies\nInstalling ESP-IDF's Python dependencies\nERROR: Could not find a version that satisfies the requirement cryptography (from versions: none)\nERROR: No matching distribution found for cryptography\nWARNING: There was an error checking the latest version of pip.\n*** Error 1\nReading CMake configuration...\n-- Found Git: /usr/bin/git (found version \"2.37.1 (Apple Git-137.1)\") \n-- The C compiler identification is GNU 11.2.0\n-- The CXX compiler identification is GNU 11.2.0\n-- The ASM compiler identification is GNU\n-- Found assembler: /Users/hanfanyu/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-gcc\n-- Check for working C compiler: /Users/hanfanyu/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-gcc\n-- Check for working C compiler: /Users/hanfanyu/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-gcc -- works\n-- Detecting C compiler ABI info\n-- Detecting C compiler ABI info - done\n-- Detecting C compile features\n-- Detecting C compile features - done\n-- Check for working CXX compiler: /Users/hanfanyu/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-g++\n-- Check for working CXX compiler: /Users/hanfanyu/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-g++ -- works\n-- Detecting CXX compiler ABI info\n-- Detecting CXX compiler ABI info - done\n-- Detecting CXX compile features\n-- Detecting CXX compile features - done\n-- Project is not inside a git repository, or git repository has no commits; will not use 'git describe' to determine PROJECT_VER.\n-- Building ESP-IDF components for target esp32\n-- Configuring incomplete, errors occurred!\nSee also \"/Users/hanfanyu/Documents/PlatformIO/Projects/Drv-V2-IDF/.pio/build/esp-wrover-kit/CMakeFiles/CMakeOutput.log\".\n\nfatal: not a git repository (or any of the parent directories): .git\nCMake Error at /Users/hanfanyu/.platformio/packages/framework-espidf/tools/cmake/build.cmake:519 (message):\n /Users/hanfanyu/.platformio/penv/.espidf-5.0.0/bin/python: Error while\n finding module specification for 'idf_component_manager.prepare_components'\n (ModuleNotFoundError: No module named 'idf_component_manager')\n\nCall Stack (most recent call first):\n /Users/hanfanyu/.platformio/packages/framework-espidf/tools/cmake/project.cmake:440 (idf_build_process)\n CMakeLists.txt:3 (project)\n\n\n\n========================= [FAILED] Took 67.65 seconds ========================="

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. Please provide more details or it will be closed if no further activity occurs. Thank you for your contributions.