platformio / platformio-home

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

Could not initialize project #4941

Closed javierbytes closed 2 years ago

javierbytes commented 2 years ago

PIO Core Call Error: "The current working directory /home/javier/Documentos/PlatformIO/Projects/ejemplo will be used for the project.\n\nThe next files/directories have been created in /home/javier/Documentos/PlatformIO/Projects/ejemplo\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...\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 Using cached https://files.pythonhosted.org/packages/cc/98/8a258ab4787e6f835d350639792527d2eb7946ff9fc0caca9c3f4cf5dcfe/cryptography-3.4.8.tar.gz\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-hjcivzy0/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-hjcivzy0/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/Documentos/PlatformIO/Projects/ejemplo/.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 18.23 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.