platformio / platformio-home

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

Could not initialize project #5871

Open antislashn opened 1 year ago

antislashn commented 1 year ago

PIO Core Call Error: "The following files/directories have been created in /home/franck/Workspaces/esp32/blink-espidf\ninclude - Put project header files here\nlib - Put project specific (private) libraries here\nsrc - Put project source files here\nplatformio.ini - Project Configuration File\nResolving esp32dev dependencies...\nTool Manager: Installing espressif/toolchain-xtensa-esp32 @ 11.2.0+2022r1\nDownloading 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%\nUnpacking 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%\nTool Manager: toolchain-xtensa-esp32@11.2.0+2022r1 has been installed!\nTool Manager: Installing platformio/toolchain-esp32ulp @ ~1.23500.0\nDownloading 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%\nUnpacking 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%\nTool Manager: toolchain-esp32ulp@1.23500.220830 has been installed!\nTool Manager: Installing platformio/framework-espidf @ ~3.50002.0\nDownloading 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%\nUnpacking 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%\nTool Manager: framework-espidf@3.50002.230601 has been installed!\nTool Manager: Installing platformio/tool-cmake @ ~3.16.0\nDownloading 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%\nUnpacking 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%\nTool Manager: tool-cmake@3.16.4 has been installed!\nTool Manager: Installing platformio/tool-ninja @ ^1.7.0\nDownloading 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%\nUnpacking 0% 10% 20%\nTool Manager: tool-ninja@1.7.1 has been installed!\nAlready up-to-date.\nUpdating metadata for the vscode IDE...\n\n\nError: Processing esp32dev (platform: espressif32; board: esp32dev; framework: 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.3.2) > 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-espidf @ 3.50002.230601 (5.0.2) \n - tool-cmake @ 3.16.4 \n - tool-esptoolpy @ 1.40501.0 (4.5.1) \n - tool-ninja @ 1.7.1 \n - toolchain-esp32ulp @ 1.23500.220830 (2.35.0) \n - toolchain-xtensa-esp32 @ 11.2.0+2022r1\nCreating a new 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/franck/.platformio/penv/.espidf-5.0.2/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/franck/.platformio/penv/lib/python3.10/site-packages/platformio/builder/main.py\", line 174:\n env.SConscript(\"$BUILD_SCRIPT\")\n File \"/home/franck/.platformio/packages/tool-scons/scons-local-4.5.2/SCons/Script/SConscript.py\", line 598:\n return _SConscript(self.fs, files, subst_kw)\n File \"/home/franck/.platformio/packages/tool-scons/scons-local-4.5.2/SCons/Script/SConscript.py\", line 285:\n exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)\n File \"/home/franck/.platformio/platforms/espressif32/builder/main.py\", line 312:\n target_elf = env.BuildProgram()\n File \"/home/franck/.platformio/packages/tool-scons/scons-local-4.5.2/SCons/Util/envs.py\", line 242:\n return self.method(*nargs, kwargs)\n File \"/home/franck/.platformio/penv/lib/python3.10/site-packages/platformio/builder/tools/piobuild.py\", line 60:\n env.ProcessProgramDeps()\n File \"/home/franck/.platformio/packages/tool-scons/scons-local-4.5.2/SCons/Util/envs.py\", line 242:\n return self.method(*nargs, *kwargs)\n File \"/home/franck/.platformio/penv/lib/python3.10/site-packages/platformio/builder/tools/piobuild.py\", line 120:\n env.BuildFrameworks(env.get(\"PIOFRAMEWORK\"))\n File \"/home/franck/.platformio/packages/tool-scons/scons-local-4.5.2/SCons/Util/envs.py\", line 242:\n return self.method(nargs, kwargs)\n File \"/home/franck/.platformio/penv/lib/python3.10/site-packages/platformio/builder/tools/piobuild.py\", line 331:\n SConscript(env.GetFrameworkScript(name), exports=\"env\")\n File \"/home/franck/.platformio/packages/tool-scons/scons-local-4.5.2/SCons/Script/SConscript.py\", line 662:\n return method(*args, *kw)\n File \"/home/franck/.platformio/packages/tool-scons/scons-local-4.5.2/SCons/Script/SConscript.py\", line 598:\n return _SConscript(self.fs, files, **subst_kw)\n File \"/home/franck/.platformio/packages/tool-scons/scons-local-4.5.2/SCons/Script/SConscript.py\", line 285:\n exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)\n File \"/home/franck/.platformio/platforms/espressif32/builder/frameworks/espidf.py\", line 1232:\n ensure_python_venv_available()\n File \"/home/franck/.platformio/platforms/espressif32/builder/frameworks/espidf.py\", line 1208:\n _create_venv(venv_dir)\n File \"/home/franck/.platformio/platforms/espressif32/builder/frameworks/espidf.py\", line 1200:\n assert os.path.isfile(\n========================== [FAILED] Took 0.56 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.