Open FloDuff opened 1 year ago
PIO Core Call Error: "Resolving esp32dev dependencies...\nTool Manager: Installing platformio/framework-espidf @ ~3.40403.0\nDownloading 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%\nUnpacking\nTool Manager: framework-espidf@3.40403.0 has been installed!\nAlready up-to-date.\nUpdating metadata for the vscode IDE...\n\n\nError: Processing esp32dev (board: esp32dev; platform: espressif32; framework: arduino, espidf)\n--------------------------------------------------------------------------------\nVerbose mode can be enabled via -v, --verbose option\nCONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32dev.html\nPLATFORM: Espressif 32 (6.0.1) > Espressif ESP32 Dev Module\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-arduinoespressif32 @ 3.20006.221224 (2.0.6) \n - framework-espidf @ 3.40403.0 (4.4.3) \n - tool-cmake @ 3.16.4 \n - tool-esptoolpy @ 1.40400.0 (4.4.0) \n - tool-ninja @ 1.7.1 \n - toolchain-esp32ulp @ 1.23500.220830 (2.35.0) \n - toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5\nCreating a virtual environment for IDF Python dependencies\nThe virtual environment was not created successfully because ensurepip is not\navailable. On Debian/Ubuntu systems, you need to install the python3-venv\npackage using the following command.\n\n apt install python3.10-venv\n\nYou may need to use sudo with that command. After installing the python3-venv\npackage, recreate your virtual environment.\n\nFailing command: ['/home/florian/.platformio/penv/.espidf-4.4.3/bin/python', '-Im', 'ensurepip', '--upgrade', '--default-pip']\n\n Error 1\nAssertionError: Error: Failed to create a proper virtual environment. Missing the pip binary!:\n File \"/home/florian/.platformio/penv/lib/python3.10/site-packages/platformio/builder/main.py\", line 187:\n env.SConscript(\"$BUILD_SCRIPT\")\n File \"/home/florian/.platformio/packages/tool-scons/scons-local-4.4.0/SCons/Script/SConscript.py\", line 597:\n return _SConscript(self.fs, files, subst_kw)\n File \"/home/florian/.platformio/packages/tool-scons/scons-local-4.4.0/SCons/Script/SConscript.py\", line 285:\n exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)\n File \"/home/florian/.platformio/platforms/espressif32/builder/main.py\", line 312:\n target_elf = env.BuildProgram()\n File \"/home/florian/.platformio/packages/tool-scons/scons-local-4.4.0/SCons/Util.py\", line 737:\n return self.method(*nargs, kwargs)\n File \"/home/florian/.platformio/penv/lib/python3.10/site-packages/platformio/builder/tools/piobuild.py\", line 60:\n env.ProcessProgramDeps()\n File \"/home/florian/.platformio/packages/tool-scons/scons-local-4.4.0/SCons/Util.py\", line 737:\n return self.method(*nargs, *kwargs)\n File \"/home/florian/.platformio/penv/lib/python3.10/site-packages/platformio/builder/tools/piobuild.py\", line 120:\n env.BuildFrameworks(env.get(\"PIOFRAMEWORK\"))\n File \"/home/florian/.platformio/packages/tool-scons/scons-local-4.4.0/SCons/Util.py\", line 737:\n return self.method(nargs, kwargs)\n File \"/home/florian/.platformio/penv/lib/python3.10/site-packages/platformio/builder/tools/piobuild.py\", line 331:\n SConscript(env.GetFrameworkScript(name), exports=\"env\")\n File \"/home/florian/.platformio/packages/tool-scons/scons-local-4.4.0/SCons/Script/SConscript.py\", line 660:\n return method(*args, *kw)\n File \"/home/florian/.platformio/packages/tool-scons/scons-local-4.4.0/SCons/Script/SConscript.py\", line 597:\n return _SConscript(self.fs, files, **subst_kw)\n File \"/home/florian/.platformio/packages/tool-scons/scons-local-4.4.0/SCons/Script/SConscript.py\", line 285:\n exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)\n File \"/home/florian/.platformio/platforms/espressif32/builder/frameworks/espidf.py\", line 1187:\n install_python_deps()\n File \"/home/florian/.platformio/platforms/espressif32/builder/frameworks/espidf.py\", line 1095:\n python_exe_path = get_python_exe()\n File \"/home/florian/.platformio/platforms/espressif32/builder/frameworks/espidf.py\", line 1168:\n _create_venv(venv_dir)\n File \"/home/florian/.platformio/platforms/espressif32/builder/frameworks/espidf.py\", line 1155:\n assert os.path.isfile(\n========================== [FAILED] Took 0.90 seconds ==========================\n\nEnvironment Status Duration\n------------- -------- ------------\nesp32dev FAILED 00:00:00.898\n==================== 1 failed, 0 succeeded in 00:00:00.898 ===================="
-v, --verbose
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.
PIO Core Call Error: "Resolving esp32dev dependencies...\nTool Manager: Installing platformio/framework-espidf @ ~3.40403.0\nDownloading 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%\nUnpacking\nTool Manager: framework-espidf@3.40403.0 has been installed!\nAlready up-to-date.\nUpdating metadata for the vscode IDE...\n\n\nError: Processing esp32dev (board: esp32dev; platform: espressif32; framework: arduino, espidf)\n--------------------------------------------------------------------------------\nVerbose mode can be enabled via
-v, --verbose
option\nCONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32dev.html\nPLATFORM: Espressif 32 (6.0.1) > Espressif ESP32 Dev Module\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-arduinoespressif32 @ 3.20006.221224 (2.0.6) \n - framework-espidf @ 3.40403.0 (4.4.3) \n - tool-cmake @ 3.16.4 \n - tool-esptoolpy @ 1.40400.0 (4.4.0) \n - tool-ninja @ 1.7.1 \n - toolchain-esp32ulp @ 1.23500.220830 (2.35.0) \n - toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5\nCreating a virtual environment for IDF Python dependencies\nThe virtual environment was not created successfully because ensurepip is not\navailable. On Debian/Ubuntu systems, you need to install the python3-venv\npackage using the following command.\n\n apt install python3.10-venv\n\nYou may need to use sudo with that command. After installing the python3-venv\npackage, recreate your virtual environment.\n\nFailing command: ['/home/florian/.platformio/penv/.espidf-4.4.3/bin/python', '-Im', 'ensurepip', '--upgrade', '--default-pip']\n\n Error 1\nAssertionError: Error: Failed to create a proper virtual environment. Missing the pip binary!:\n File \"/home/florian/.platformio/penv/lib/python3.10/site-packages/platformio/builder/main.py\", line 187:\n env.SConscript(\"$BUILD_SCRIPT\")\n File \"/home/florian/.platformio/packages/tool-scons/scons-local-4.4.0/SCons/Script/SConscript.py\", line 597:\n return _SConscript(self.fs, files, subst_kw)\n File \"/home/florian/.platformio/packages/tool-scons/scons-local-4.4.0/SCons/Script/SConscript.py\", line 285:\n exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)\n File \"/home/florian/.platformio/platforms/espressif32/builder/main.py\", line 312:\n target_elf = env.BuildProgram()\n File \"/home/florian/.platformio/packages/tool-scons/scons-local-4.4.0/SCons/Util.py\", line 737:\n return self.method(*nargs, kwargs)\n File \"/home/florian/.platformio/penv/lib/python3.10/site-packages/platformio/builder/tools/piobuild.py\", line 60:\n env.ProcessProgramDeps()\n File \"/home/florian/.platformio/packages/tool-scons/scons-local-4.4.0/SCons/Util.py\", line 737:\n return self.method(*nargs, *kwargs)\n File \"/home/florian/.platformio/penv/lib/python3.10/site-packages/platformio/builder/tools/piobuild.py\", line 120:\n env.BuildFrameworks(env.get(\"PIOFRAMEWORK\"))\n File \"/home/florian/.platformio/packages/tool-scons/scons-local-4.4.0/SCons/Util.py\", line 737:\n return self.method(nargs, kwargs)\n File \"/home/florian/.platformio/penv/lib/python3.10/site-packages/platformio/builder/tools/piobuild.py\", line 331:\n SConscript(env.GetFrameworkScript(name), exports=\"env\")\n File \"/home/florian/.platformio/packages/tool-scons/scons-local-4.4.0/SCons/Script/SConscript.py\", line 660:\n return method(*args, *kw)\n File \"/home/florian/.platformio/packages/tool-scons/scons-local-4.4.0/SCons/Script/SConscript.py\", line 597:\n return _SConscript(self.fs, files, **subst_kw)\n File \"/home/florian/.platformio/packages/tool-scons/scons-local-4.4.0/SCons/Script/SConscript.py\", line 285:\n exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)\n File \"/home/florian/.platformio/platforms/espressif32/builder/frameworks/espidf.py\", line 1187:\n install_python_deps()\n File \"/home/florian/.platformio/platforms/espressif32/builder/frameworks/espidf.py\", line 1095:\n python_exe_path = get_python_exe()\n File \"/home/florian/.platformio/platforms/espressif32/builder/frameworks/espidf.py\", line 1168:\n _create_venv(venv_dir)\n File \"/home/florian/.platformio/platforms/espressif32/builder/frameworks/espidf.py\", line 1155:\n assert os.path.isfile(\n========================== [FAILED] Took 0.90 seconds ==========================\n\nEnvironment Status Duration\n------------- -------- ------------\nesp32dev FAILED 00:00:00.898\n==================== 1 failed, 0 succeeded in 00:00:00.898 ===================="