platformio / platformio-home

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

Could not initialize project #5376

Open capigues opened 1 year ago

capigues commented 1 year ago

Chip: Apple M1 OS: Ventura 13.1

PIO Core Call Error: "Resolving esp-wrover-kit dependencies...\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.0) > 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\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/cap/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-gcc\n-- Check for working C compiler: /Users/cap/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-gcc\n-- Check for working C compiler: /Users/cap/.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/cap/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-g++\n-- Check for working CXX compiler: /Users/cap/.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-- Building ESP-IDF components for target esp32\n-- Configuring incomplete, errors occurred!\nSee also \"/Users/cap/Documents/PlatformIO/Projects/test/.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/cap/.platformio/packages/framework-espidf/tools/cmake/build.cmake:519 (message):\n Traceback (most recent call last):\n\n File \"/Users/cap/.platformio/penv/lib/python3.11/site-packages/requests/compat.py\", line 11, in \n import chardet\n\n ModuleNotFoundError: No module named 'chardet'\n\n \n\n During handling of the above exception, another exception occurred:\n\n \n\n Traceback (most recent call last):\n\n File \"\", line 198, in _run_module_as_main\n File \"\", line 88, in _run_code\n File \"/Users/cap/.platformio/penv/lib/python3.11/site-packages/idf_component_manager/prepare_components/main.py\", line 4, in \n from .prepare import main\n File \"/Users/cap/.platformio/penv/lib/python3.11/site-packages/idf_component_manager/prepare_components/prepare.py\", line 18, in \n from ..core import ComponentManager\n File \"/Users/cap/.platformio/penv/lib/python3.11/site-packages/idf_component_manager/core.py\", line 17, in \n import requests\n File \"/Users/cap/.platformio/penv/lib/python3.11/site-packages/requests/init.py\", line 45, in \n from .exceptions import RequestsDependencyWarning\n File \"/Users/cap/.platformio/penv/lib/python3.11/site-packages/requests/exceptions.py\", line 9, in \n from .compat import JSONDecodeError as CompatJSONDecodeError\n File \"/Users/cap/.platformio/penv/lib/python3.11/site-packages/requests/compat.py\", line 13, in \n import charset_normalizer as chardet\n File \"/Users/cap/.platformio/penv/lib/python3.11/site-packages/charset_normalizer/init.py\", line 24, in \n from .api import from_bytes, from_fp, from_path\n File \"/Users/cap/.platformio/penv/lib/python3.11/site-packages/charset_normalizer/api.py\", line 5, in \n from .cd import (\n File \"/Users/cap/.platformio/penv/lib/python3.11/site-packages/charset_normalizer/cd.py\", line 9, in \n from .md import is_suspiciously_successive_range\n\n ImportError:\n dlopen(/Users/cap/.platformio/penv/lib/python3.11/site-packages/charset_normalizer/md.cpython-311-darwin.so,\n 0x0002): tried:\n '/Users/cap/.platformio/penv/lib/python3.11/site-packages/charset_normalizer/md.cpython-311-darwin.so'\n (mach-o file, but is an incompatible architecture (have 'arm64', need\n 'x86_64')),\n '/System/Volumes/Preboot/Cryptexes/OS/Users/cap/.platformio/penv/lib/python3.11/site-packages/charset_normalizer/md.cpython-311-darwin.so'\n (no such file),\n '/Users/cap/.platformio/penv/lib/python3.11/site-packages/charset_normalizer/md.cpython-311-darwin.so'\n (mach-o file, but is an incompatible architecture (have 'arm64', need\n 'x86_64'))\n\nCall Stack (most recent call first):\n /Users/cap/.platformio/packages/framework-espidf/tools/cmake/project.cmake:440 (idf_build_process)\n CMakeLists.txt:3 (project)\n\n\n\n========================== [FAILED] Took 1.71 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.

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.