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 #9079

Open PicassoEason opened 1 day ago

PicassoEason commented 1 day ago

PIO Core Call Error: "The following files/directories have been created in C:\Users\ezraw\Documents\GitHub\MVP_TFAFC\r\ninclude - Put project header files here\r\nlib - Put project specific (private) libraries here\r\nsrc - Put project source files here\r\nplatformio.ini - Project Configuration File\r\nResolving upesy_wroom dependencies...\r\nAlready up-to-date.\r\nUpdating metadata for the vscode IDE...\r\n\n\nUserSideException: Processing upesy_wroom (platform: espressif32; board: upesy_wroom; framework: espidf)\r\n--------------------------------------------------------------------------------\r\nVerbose mode can be enabled via -v, --verbose option\r\nCONFIGURATION: https://docs.platformio.org/page/boards/espressif32/upesy_wroom.html\r\nPLATFORM: Espressif 32 (6.9.0) > uPesy ESP32 Wroom DevKit\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\\ezraw\\.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\ezraw\.platformio\penv\Lib\site-packages\platformio\builder\main.py\", line 173:\r\n env.SConscript(\"$BUILD_SCRIPT\")\r\n File \"C:\Users\ezraw\.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\ezraw\.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\ezraw\.platformio\platforms\espressif32\builder\main.py\", line 368:\r\n target_elf = env.BuildProgram()\r\n File \"C:\Users\ezraw\.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\ezraw\.platformio\penv\Lib\site-packages\platformio\builder\tools\piobuild.py\", line 61:\r\n env.ProcessProgramDeps()\r\n File \"C:\Users\ezraw\.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\ezraw\.platformio\penv\Lib\site-packages\platformio\builder\tools\piobuild.py\", line 121:\r\n env.BuildFrameworks(env.get(\"PIOFRAMEWORK\"))\r\n File \"C:\Users\ezraw\.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\ezraw\.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\ezraw\.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\ezraw\.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\ezraw\.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\ezraw\.platformio\platforms\espressif32\builder\frameworks\espidf.py\", line 1401:\r\n install_python_deps()\r\n File \"C:\Users\ezraw\.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\ezraw\.platformio\platforms\espressif32\builder\frameworks\espidf.py\", line 1239:\r\n pip_output = subprocess.check_output(\r\n File \"C:\Users\ezraw\.platformio\python3\Lib\subprocess.py\", line 466:\r\n return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,\r\n File \"C:\Users\ezraw\.platformio\python3\Lib\subprocess.py\", line 571:\r\n raise CalledProcessError(retcode, process.args,\r\n========================== [FAILED] Took 0.82 seconds =========================="