platformio / platformio-home

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

Could not initialize project #5597

Open DEMIIIURGUE opened 1 year ago

DEMIIIURGUE commented 1 year ago

PIO Core Call Error: "The current working directory /home/demiiiurgue/Documents/PlatformIO/Projects/sera will be used for the project.\n\nThe next files/directories have been created in /home/demiiiurgue/Documents/PlatformIO/Projects/sera\ninclude - Put project header files here\nlib - Put here project specific (private) libraries\nsrc - Put project source files here\nplatformio.ini - Project Configuration File\nResolving esp32dev dependencies...\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.1.0) > 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.50001.0 (5.0.1) \n - tool-cmake @ 3.16.4 \n - tool-esptoolpy @ 1.40500.0 (4.5.0) \n - tool-ninja @ 1.7.1 \n - toolchain-esp32ulp @ 1.23500.220830 (2.35.0) \n - toolchain-xtensa-esp32 @ 11.2.0+2022r1\n/home/demiiiurgue/.platformio/penv/.espidf-5.0.1/bin/python: No module named pip\nCalledProcessError: Command '['/home/demiiiurgue/.platformio/penv/.espidf-5.0.1/bin/python', '-m', 'pip', 'list', '--format=json', '--disable-pip-version-check']' returned non-zero exit status 1.:\n File \"/home/demiiiurgue/.platformio/penv/lib/python3.10/site-packages/platformio/builder/main.py\", line 187:\n env.SConscript(\"$BUILD_SCRIPT\")\n File \"/home/demiiiurgue/.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/demiiiurgue/.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/demiiiurgue/.platformio/platforms/espressif32/builder/main.py\", line 312:\n target_elf = env.BuildProgram()\n File \"/home/demiiiurgue/.platformio/packages/tool-scons/scons-local-4.4.0/SCons/Util.py\", line 737:\n return self.method(*nargs, *kwargs)\n File \"/home/demiiiurgue/.platformio/penv/lib/python3.10/site-packages/platformio/builder/tools/piobuild.py\", line 60:\n env.ProcessProgramDeps()\n File \"/home/demiiiurgue/.platformio/packages/tool-scons/scons-local-4.4.0/SCons/Util.py\", line 737:\n return self.method(nargs, kwargs)\n File \"/home/demiiiurgue/.platformio/penv/lib/python3.10/site-packages/platformio/builder/tools/piobuild.py\", line 120:\n env.BuildFrameworks(env.get(\"PIOFRAMEWORK\"))\n File \"/home/demiiiurgue/.platformio/packages/tool-scons/scons-local-4.4.0/SCons/Util.py\", line 737:\n return self.method(*nargs, kwargs)\n File \"/home/demiiiurgue/.platformio/penv/lib/python3.10/site-packages/platformio/builder/tools/piobuild.py\", line 331:\n SConscript(env.GetFrameworkScript(name), exports=\"env\")\n File \"/home/demiiiurgue/.platformio/packages/tool-scons/scons-local-4.4.0/SCons/Script/SConscript.py\", line 660:\n return method(*args, *kw)\n File \"/home/demiiiurgue/.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/demiiiurgue/.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/demiiiurgue/.platformio/platforms/espressif32/builder/frameworks/espidf.py\", line 1190:\n install_python_deps()\n File \"/home/demiiiurgue/.platformio/platforms/espressif32/builder/frameworks/espidf.py\", line 1099:\n installed_packages = _get_installed_pip_packages(python_exe_path)\n File \"/home/demiiiurgue/.platformio/platforms/espressif32/builder/frameworks/espidf.py\", line 1065:\n pip_output = subprocess.check_output(\n File \"/usr/lib/python3.10/subprocess.py\", line 420:\n return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,\n File \"/usr/lib/python3.10/subprocess.py\", line 524:\n raise CalledProcessError(retcode, process.args,\n========================== [FAILED] Took 0.34 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.