platformio / platformio-core-installer

PlatformIO Core Installer
https://docs.platformio.org/en/latest/core/installation/index.html
Apache License 2.0
86 stars 53 forks source link

Installation Manager error #3136

Closed SgtBlade closed 8 months ago

SgtBlade commented 8 months ago

%23 Description of problem Error when installing during the "installing platformIO core" phase. Using MacOS. Complete reinstall of VSCode has been attempted with removing everything of it (the hidden folders and such).

BEFORE SUBMITTING, PLEASE SEARCH FOR DUPLICATES IN

× pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip. WARNING: There was an error checking the latest version of pip. Error: Could not install PlatformIO Core: Command '['/Users/myname/.platformio/penv/bin/python', '-m', 'pip', 'install', '-U', 'platformio']' returned non-zero exit status 1. -> Installer version: 1.2.1 Platform: macOS-10.16 Python version: 3.11.7 (main, Jan 5 2024, 15:06:11) [Clang 10.0.0 (clang-1000.10.44.4)] Python path: /Users/myname/.platformio/python3/bin/python3 Creating a virtual environment at /Users/myname/.platformio/penv Updating Python package manager (PIP) in a virtual environment PIP has been successfully updated! Virtual environment has been successfully created! Installing PlatformIO Core Collecting platformio Using cached platformio-6.1.13.tar.gz (237 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error'

at /Users/myname/.vscode/extensions/platformio.platformio-ide-3.3.2-darwin-x64/node_modules/platformio-node-helpers/dist/index.js:1:5300
at ChildProcess.c (/Users/myname/.vscode/extensions/platformio.platformio-ide-3.3.2-darwin-x64/node_modules/platformio-node-helpers/dist/index.js:1:4598)
at ChildProcess.emit (node:events:513:28)
at ChildProcess.emit (node:domain:489:12)
at maybeClose (node:internal/child_process:1091:16)
at Socket.<anonymous> (node:internal/child_process:449:11)
at Socket.emit (node:events:513:28)
at Socket.emit (node:domain:489:12)
at Pipe.<anonymous> (node:net:322:12)
ivankravets commented 8 months ago

I can't reproduce this issue on macOS. Could you remove /Users/myname/.platformio/penv folder and restart VSCode?