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 import project #5823

Open websitesltda opened 1 year ago

websitesltda commented 1 year ago

PIO Core Call Error: "Resolving esp32dev dependencies...\r\nAlready up-to-date.\r\nUpdating metadata for the vscode IDE...\r\n\n\nError: Processing esp32dev (board: esp32dev; platform: espressif32; 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.3.1) > 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.50002.230601 (5.0.2) \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 - toolchain-esp32ulp @ 1.23500.220830 (2.35.0) \r\n - toolchain-xtensa-esp32 @ 11.2.0+2022r1\r\nCreating a virtual environment for IDF Python dependencies\r\nError: Command '['C:\\Users\\caio\\.platformio\\penv\\.espidf-5.0.2\\Scripts\\python.exe', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.\r\n Error 1\r\nAssertionError: Error: Failed to create a proper virtual environment. Missing the pip binary!:\r\n File \"C:\Users\caio\.platformio\penv\lib\site-packages\platformio\builder\main.py\", line 174:\r\n env.SConscript(\"$BUILD_SCRIPT\")\r\n File \"C:\Users\caio\.platformio\packages\tool-scons\scons-local-4.5.2\SCons\Script\SConscript.py\", line 598:\r\n return _SConscript(self.fs, files, subst_kw)\r\n File \"C:\Users\caio\.platformio\packages\tool-scons\scons-local-4.5.2\SCons\Script\SConscript.py\", line 285:\r\n exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)\r\n File \"C:\Users\caio\.platformio\platforms\espressif32\builder\main.py\", line 312:\r\n target_elf = env.BuildProgram()\r\n File \"C:\Users\caio\.platformio\packages\tool-scons\scons-local-4.5.2\SCons\Util\envs.py\", line 242:\r\n return self.method(*nargs, kwargs)\r\n File \"C:\Users\caio\.platformio\penv\lib\site-packages\platformio\builder\tools\piobuild.py\", line 60:\r\n env.ProcessProgramDeps()\r\n File \"C:\Users\caio\.platformio\packages\tool-scons\scons-local-4.5.2\SCons\Util\envs.py\", line 242:\r\n return self.method(*nargs, *kwargs)\r\n File \"C:\Users\caio\.platformio\penv\lib\site-packages\platformio\builder\tools\piobuild.py\", line 120:\r\n env.BuildFrameworks(env.get(\"PIOFRAMEWORK\"))\r\n File \"C:\Users\caio\.platformio\packages\tool-scons\scons-local-4.5.2\SCons\Util\envs.py\", line 242:\r\n return self.method(nargs, kwargs)\r\n File \"C:\Users\caio\.platformio\penv\lib\site-packages\platformio\builder\tools\piobuild.py\", line 331:\r\n SConscript(env.GetFrameworkScript(name), exports=\"env\")\r\n File \"C:\Users\caio\.platformio\packages\tool-scons\scons-local-4.5.2\SCons\Script\SConscript.py\", line 662:\r\n return method(*args, *kw)\r\n File \"C:\Users\caio\.platformio\packages\tool-scons\scons-local-4.5.2\SCons\Script\SConscript.py\", line 598:\r\n return _SConscript(self.fs, files, **subst_kw)\r\n File \"C:\Users\caio\.platformio\packages\tool-scons\scons-local-4.5.2\SCons\Script\SConscript.py\", line 285:\r\n exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)\r\n File \"C:\Users\caio\.platformio\platforms\espressif32\builder\frameworks\espidf.py\", line 1203:\r\n install_python_deps()\r\n File \"C:\Users\caio\.platformio\platforms\espressif32\builder\frameworks\espidf.py\", line 1111:\r\n python_exe_path = get_python_exe()\r\n File \"C:\Users\caio\.platformio\platforms\espressif32\builder\frameworks\espidf.py\", line 1184:\r\n _create_venv(venv_dir)\r\n File \"C:\Users\caio\.platformio\platforms\espressif32\builder\frameworks\espidf.py\", line 1171:\r\n assert os.path.isfile(\r\n========================== [FAILED] Took 3.74 seconds ==========================\r\n\r\nEnvironment Status Duration\r\n------------- -------- ------------\r\nesp32dev FAILED 00:00:03.745\r\n==================== 1 failed, 0 succeeded in 00:00:03.745 ===================="

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.