Open arieshopes2403 opened 4 days ago
PIO Core Call Error: "The following files/directories have been created in D:\Learn IOT\Device\LearnESP\learnEsp\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 esp32dev dependencies...\r\nAlready up-to-date.\r\nUpdating metadata for the vscode IDE...\r\n\n\nUserSideException: Processing esp32dev (platform: espressif32; board: esp32dev; framework: espidf)\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\nRemoving an oudated IDF virtual environment\r\nCreating a new virtual environment for IDF Python dependencies\r\nAssertionError: Error: Failed to create a proper virtual environment. Missing the pip binary!:\r\n File \"C:\Users\Charlie Nguyen\.platformio\penv\lib\python3.11\site-packages\platformio\builder\main.py\", line 173:\r\n env.SConscript(\"$BUILD_SCRIPT\")\r\n File \"C:\Users\Charlie Nguyen\.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\Charlie Nguyen\.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\Charlie Nguyen\.platformio\platforms\espressif32\builder\main.py\", line 368:\r\n target_elf = env.BuildProgram()\r\n File \"C:\Users\Charlie Nguyen\.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\Charlie Nguyen\.platformio\penv\lib\python3.11\site-packages\platformio\builder\tools\piobuild.py\", line 61:\r\n env.ProcessProgramDeps()\r\n File \"C:\Users\Charlie Nguyen\.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\Charlie Nguyen\.platformio\penv\lib\python3.11\site-packages\platformio\builder\tools\piobuild.py\", line 121:\r\n env.BuildFrameworks(env.get(\"PIOFRAMEWORK\"))\r\n File \"C:\Users\Charlie Nguyen\.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\Charlie Nguyen\.platformio\penv\lib\python3.11\site-packages\platformio\builder\tools\piobuild.py\", line 347:\r\n SConscript(env.GetFrameworkScript(name), exports=\"env\")\r\n File \"C:\Users\Charlie Nguyen\.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\Charlie Nguyen\.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\Charlie Nguyen\.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\Charlie Nguyen\.platformio\platforms\espressif32\builder\frameworks\espidf.py\", line 1400:\r\n ensure_python_venv_available()\r\n File \"C:\Users\Charlie Nguyen\.platformio\platforms\espressif32\builder\frameworks\espidf.py\", line 1376:\r\n _create_venv(venv_dir)\r\n File \"C:\Users\Charlie Nguyen\.platformio\platforms\espressif32\builder\frameworks\espidf.py\", line 1369:\r\n assert os.path.isfile(\r\n========================== [FAILED] Took 4.90 seconds =========================="
-v, --verbose
pip
PIO Core Call Error: "The following files/directories have been created in D:\Learn IOT\Device\LearnESP\learnEsp\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 esp32dev dependencies...\r\nAlready up-to-date.\r\nUpdating metadata for the vscode IDE...\r\n\n\nUserSideException: Processing esp32dev (platform: espressif32; board: esp32dev; framework: espidf)\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\nRemoving an oudated IDF virtual environment\r\nCreating a new virtual environment for IDF Python dependencies\r\nAssertionError: Error: Failed to create a proper virtual environment. Missing thepip
binary!:\r\n File \"C:\Users\Charlie Nguyen\.platformio\penv\lib\python3.11\site-packages\platformio\builder\main.py\", line 173:\r\n env.SConscript(\"$BUILD_SCRIPT\")\r\n File \"C:\Users\Charlie Nguyen\.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\Charlie Nguyen\.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\Charlie Nguyen\.platformio\platforms\espressif32\builder\main.py\", line 368:\r\n target_elf = env.BuildProgram()\r\n File \"C:\Users\Charlie Nguyen\.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\Charlie Nguyen\.platformio\penv\lib\python3.11\site-packages\platformio\builder\tools\piobuild.py\", line 61:\r\n env.ProcessProgramDeps()\r\n File \"C:\Users\Charlie Nguyen\.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\Charlie Nguyen\.platformio\penv\lib\python3.11\site-packages\platformio\builder\tools\piobuild.py\", line 121:\r\n env.BuildFrameworks(env.get(\"PIOFRAMEWORK\"))\r\n File \"C:\Users\Charlie Nguyen\.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\Charlie Nguyen\.platformio\penv\lib\python3.11\site-packages\platformio\builder\tools\piobuild.py\", line 347:\r\n SConscript(env.GetFrameworkScript(name), exports=\"env\")\r\n File \"C:\Users\Charlie Nguyen\.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\Charlie Nguyen\.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\Charlie Nguyen\.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\Charlie Nguyen\.platformio\platforms\espressif32\builder\frameworks\espidf.py\", line 1400:\r\n ensure_python_venv_available()\r\n File \"C:\Users\Charlie Nguyen\.platformio\platforms\espressif32\builder\frameworks\espidf.py\", line 1376:\r\n _create_venv(venv_dir)\r\n File \"C:\Users\Charlie Nguyen\.platformio\platforms\espressif32\builder\frameworks\espidf.py\", line 1369:\r\n assert os.path.isfile(\r\n========================== [FAILED] Took 4.90 seconds =========================="