platformio / platformio-home

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

Could not initialize project #4940

Closed javierbytes closed 1 year ago

javierbytes commented 2 years ago

PIO Core Call Error: "The current working directory /home/javier/esp/implicon will be used for the project.\n\nThe next files/directories have been created in /home/javier/esp/implicon\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 nodemcu-32s dependencies...\nTool Manager: Installing platformio/toolchain-esp32ulp @ ~1.22851.0\nDownloading 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%\nUnpacking\nTool Manager: toolchain-esp32ulp@1.22851.191205 has been installed!\nTool Manager: Installing platformio/framework-espidf @ ~3.40402.0\nDownloading 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%\nUnpacking\nTool Manager: framework-espidf@3.40402.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.7.1 has been installed!\nAlready up-to-date.\nUpdating metadata for the vscode IDE...\n\n\nError: Processing nodemcu-32s (platform: espressif32; board: nodemcu-32s; framework: espidf)\n--------------------------------------------------------------------------------\nVerbose mode can be enabled via -v, --verbose option\nCONFIGURATION: https://docs.platformio.org/page/boards/espressif32/nodemcu-32s.html\nPLATFORM: Espressif 32 (5.2.0) > NodeMCU-32S\nHARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash\nDEBUG: Current (cmsis-dap) 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.40402.0 (4.4.2) \n - tool-cmake @ 3.16.4 \n - tool-esptoolpy @ 1.40201.0 (4.2.1) \n - tool-ninja @ 1.7.1 \n - toolchain-esp32ulp @ 1.22851.191205 (2.28.51) \n - toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch3\nInstalling ESP-IDF's Python dependencies\nCollecting cryptography<35.0.0,>=2.1.4\n Downloading https://files.pythonhosted.org/packages/cc/98/8a258ab4787e6f835d350639792527d2eb7946ff9fc0caca9c3f4cf5dcfe/cryptography-3.4.8.tar.gz (546kB)\n Complete output from command python setup.py egg_info:\n \n =============================DEBUG ASSISTANCE==========================\n If you are seeing an error here please try the following to\n successfully install cryptography:\n \n Upgrade to the latest pip and try again. This will fix errors for most\n users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip\n =============================DEBUG ASSISTANCE==========================\n \n Traceback (most recent call last):\n File \"\", line 1, in \n File \"/tmp/pip-build-804o904i/cryptography/setup.py\", line 14, in \n from setuptools_rust import RustExtension\n ModuleNotFoundError: No module named 'setuptools_rust'\n \n ----------------------------------------\nCommand \"python setup.py egg_info\" failed with error code 1 in /tmp/pip-build-804o904i/cryptography/\n*** Error 1\nReading CMake configuration...\n-- Found Git: /usr/lib/git-core/git (found version \"2.17.1\") \n-- The C compiler identification is GNU 8.4.0\n-- The CXX compiler identification is GNU 8.4.0\n-- The ASM compiler identification is GNU\n-- Found assembler: /home/javier/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-gcc\n-- Check for working C compiler: /home/javier/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-gcc\n-- Check for working C compiler: /home/javier/.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: /home/javier/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-g++\n-- Check for working CXX compiler: /home/javier/.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 \"/home/javier/esp/implicon/.pio/build/nodemcu-32s/CMakeFiles/CMakeOutput.log\".\n\nfatal: no es un repositorio git (ni ninguno de los directorios superiores): .git\nCMake Error at /home/javier/.platformio/packages/framework-espidf/tools/cmake/build.cmake:454 (message):\n /home/javier/.platformio/penv/bin/python: Error while finding module\n specification for 'idf_component_manager.prepare_components'\n (ModuleNotFoundError: No module named 'idf_component_manager')\n\nCall Stack (most recent call first):\n /home/javier/.platformio/packages/framework-espidf/tools/cmake/project.cmake:384 (idf_build_process)\n CMakeLists.txt:3 (project)\n\n\n\n========================= [FAILED] Took 10.89 seconds ========================="

stale[bot] commented 2 years 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.