platformio / platformio-home

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

Could not import project #8993

Open pedro4550git opened 1 week ago

pedro4550git commented 1 week ago

PIO Core Call Error: "Resolving esp32dev dependencies...\r\nAlready up-to-date.\r\nUpdating metadata for the vscode IDE...\r\n\n\nUserSideException: Processing esp32dev (platform: espressif32; framework: espidf; board: esp32dev)\r\n--------------------------------------------------------------------------------\r\nVerbose mode can be enabled via -v, --verbose option\r\nCONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32dev.html\r\nPLATFORM: Espressif 32 (6.9.0) > Espressif ESP32 Dev Module\r\nHARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash\r\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)\r\nPACKAGES: \r\n - framework-espidf @ 3.50301.0 (5.3.1) \r\n - tool-cmake @ 3.16.4 \r\n - tool-esptoolpy @ 1.40501.0 (4.5.1) \r\n - tool-idf @ 1.0.1 \r\n - tool-mconf @ 1.4060000.20190628 (406.0.0) \r\n - tool-ninja @ 1.9.0 \r\n - tool-riscv32-esp-elf-gdb @ 11.2.0+20220823 \r\n - tool-xtensa-esp-elf-gdb @ 11.2.0+20230208 \r\n - toolchain-esp32ulp @ 1.23800.240113 (2.38.0) \r\n - toolchain-xtensa-esp-elf @ 13.2.0+20240530\r\nNo pyvenv.cfg file\r\nCalledProcessError: Command '['C:\\Users\\casa\\.platformio\\penv\\.espidf-5.3.1\\Scripts\\python.exe', '-m', 'pip', 'list', '--format=json', '--disable-pip-version-check']' returned non-zero exit status 106.:\r\n File \"C:\Users\casa\.platformio\penv\Lib\site-packages\platformio\builder\main.py\", line 173:\r\n env.SConscript(\"$BUILD_SCRIPT\")\r\n File \"C:\Users\casa\.platformio\packages\tool-scons\scons-local-4.8.1\SCons\Script\SConscript.py\", line 620:\r\n return _SConscript(self.fs, *files, subst_kw)\r\n File \"C:\Users\casa\.platformio\packages\tool-scons\scons-local-4.8.1\SCons\Script\SConscript.py\", line 280:\r\n exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)\r\n File \"C:\Users\casa\.platformio\platforms\espressif32\builder\main.py\", line 368:\r\n target_elf = env.BuildProgram()\r\n File \"C:\Users\casa\.platformio\packages\tool-scons\scons-local-4.8.1\SCons\Util\envs.py\", line 252:\r\n return self.method(*nargs, *kwargs)\r\n File \"C:\Users\casa\.platformio\penv\Lib\site-packages\platformio\builder\tools\piobuild.py\", line 61:\r\n env.ProcessProgramDeps()\r\n File \"C:\Users\casa\.platformio\packages\tool-scons\scons-local-4.8.1\SCons\Util\envs.py\", line 252:\r\n return self.method(nargs, kwargs)\r\n File \"C:\Users\casa\.platformio\penv\Lib\site-packages\platformio\builder\tools\piobuild.py\", line 121:\r\n env.BuildFrameworks(env.get(\"PIOFRAMEWORK\"))\r\n File \"C:\Users\casa\.platformio\packages\tool-scons\scons-local-4.8.1\SCons\Util\envs.py\", line 252:\r\n return self.method(*nargs, kwargs)\r\n File \"C:\Users\casa\.platformio\penv\Lib\site-packages\platformio\builder\tools\piobuild.py\", line 347:\r\n SConscript(env.GetFrameworkScript(name), exports=\"env\")\r\n File \"C:\Users\casa\.platformio\packages\tool-scons\scons-local-4.8.1\SCons\Script\SConscript.py\", line 684:\r\n return method(*args, *kw)\r\n File \"C:\Users\casa\.platformio\packages\tool-scons\scons-local-4.8.1\SCons\Script\SConscript.py\", line 620:\r\n return _SConscript(self.fs, files, subst_kw)\r\n File \"C:\Users\casa\.platformio\packages\tool-scons\scons-local-4.8.1\SCons\Script\SConscript.py\", line 280:\r\n exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)\r\n File \"C:\Users\casa\.platformio\platforms\espressif32\builder\frameworks\espidf.py\", line 1401:\r\n install_python_deps()\r\n File \"C:\Users\casa\.platformio\platforms\espressif32\builder\frameworks\espidf.py\", line 1279:\r\n installed_packages = _get_installed_pip_packages(python_exe_path)\r\n File \"C:\Users\casa\.platformio\platforms\espressif32\builder\frameworks\espidf.py\", line 1239:\r\n pip_output = subprocess.check_output(\r\n File \"C:\Users\casa\.platformio\python3\Lib\subprocess.py\", line 466:\r\n return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,\r\n File \"C:\Users\casa\.platformio\python3\Lib\subprocess.py\", line 571:\r\n raise CalledProcessError(retcode, process.args,\r\n========================== [FAILED] Took 4.32 seconds =========================="