platformio-core-installer icon indicating copy to clipboard operation
platformio-core-installer copied to clipboard

Installation Manager in VSCode Macbook M1 errno 13 permission denied

Open Chect opened this issue 1 year ago • 1 comments

%23 Description of problem Leave a comment...

BEFORE SUBMITTING, PLEASE SEARCH FOR DUPLICATES IN

  • https://github.com/platformio/platformio-vscode-ide/issues%3Fq=is%3Aissue

%23 Configuration

VSCode: 1.91.1 PIO IDE: v3.3.3 System: Darwin, 23.4.0, arm64

%23 Exception

Error:   WARNING: Building wheel for platformio failed: [Errno 13] Permission denied: '/Users/chrishector/Library/Caches/pip/wheels/26'
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (platformio)
Error: Could not install PlatformIO Core: Command '['/Users/chrishector/.platformio/penv/bin/python', '-m', 'pip', 'install', '-U', 'platformio']' returned non-zero exit status 1.
-> Installer version: 1.2.2
Platform: macOS-14.4.1
Python version: 3.11.7 (main, Mar 26 2024, 13:16:44) [Clang 15.0.0 (clang-1500.0.40.1)]
Python path: /Users/chrishector/.platformio/python3/bin/python3
Creating a virtual environment at /Users/chrishector/.platformio/penv
Updating Python package manager (PIP) in the virtual environment
Requirement already satisfied: pip in /Users/chrishector/.platformio/penv/lib/python3.11/site-packages (23.2.1)
Collecting pip
Obtaining dependency information for pip from https://files.pythonhosted.org/packages/d4/55/90db48d85f7689ec6f81c0db0622d704306c5284850383c090e6c7195a5c/pip-24.2-py3-none-any.whl.metadata
Using cached pip-24.2-py3-none-any.whl.metadata (3.6 kB)
Using cached pip-24.2-py3-none-any.whl (1.8 MB)
Installing collected packages: pip
Attempting uninstall: pip
  Found existing installation: pip 23.2.1
  Uninstalling pip-23.2.1:
    Successfully uninstalled pip-23.2.1
Successfully installed pip-24.2
PIP has been successfully updated!
Virtual environment has been successfully created!
Installing PlatformIO Core
Collecting platformio
Using cached platformio-6.1.15.tar.gz (238 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Collecting bottle==0.12.* (from platformio)
Using cached bottle-0.12.25-py3-none-any.whl.metadata (1.8 kB)
Collecting click<9,>=8.0.4 (from platformio)
Using cached click-8.1.7-py3-none-any.whl.metadata (3.0 kB)
Collecting colorama (from platformio)
Using cached colorama-0.4.6-py2.py3-none-any.whl.metadata (17 kB)
Collecting marshmallow==3.* (from platformio)
Using cached marshmallow-3.22.0-py3-none-any.whl.metadata (7.2 kB)
Collecting pyelftools<1,>=0.27 (from platformio)
Using cached pyelftools-0.31-py3-none-any.whl.metadata (381 bytes)
Collecting pyserial==3.5.* (from platformio)
Using cached pyserial-3.5-py2.py3-none-any.whl.metadata (1.6 kB)
Collecting requests==2.* (from platformio)
Using cached requests-2.32.3-py3-none-any.whl.metadata (4.6 kB)
Collecting semantic-version==2.10.* (from platformio)
Using cached semantic_version-2.10.0-py2.py3-none-any.whl.metadata (9.7 kB)
Collecting tabulate==0.* (from platformio)
Using cached tabulate-0.9.0-py3-none-any.whl.metadata (34 kB)
Collecting ajsonrpc==1.2.* (from platformio)
Using cached ajsonrpc-1.2.0-py3-none-any.whl.metadata (6.9 kB)
Collecting starlette<0.38,>=0.19 (from platformio)
Using cached starlette-0.37.2-py3-none-any.whl.metadata (5.9 kB)
Collecting uvicorn<0.30,>=0.16 (from platformio)
Using cached uvicorn-0.29.0-py3-none-any.whl.metadata (6.3 kB)
Collecting wsproto==1.* (from platformio)
Using cached wsproto-1.2.0-py3-none-any.whl.metadata (5.6 kB)
Collecting chardet<6,>=3.0.2 (from platformio)
Using cached chardet-5.2.0-py3-none-any.whl.metadata (3.4 kB)
Collecting packaging>=17.0 (from marshmallow==3.*->platformio)
Using cached packaging-24.1-py3-none-any.whl.metadata (3.2 kB)
Collecting charset-normalizer<4,>=2 (from requests==2.*->platformio)
Using cached charset_normalizer-3.3.2-cp311-cp311-macosx_11_0_arm64.whl.metadata (33 kB)
Collecting idna<4,>=2.5 (from requests==2.*->platformio)
Using cached idna-3.8-py3-none-any.whl.metadata (9.9 kB)
Collecting urllib3<3,>=1.21.1 (from requests==2.*->platformio)
Using cached urllib3-2.2.2-py3-none-any.whl.metadata (6.4 kB)
Collecting certifi>=2017.4.17 (from requests==2.*->platformio)
Using cached certifi-2024.8.30-py3-none-any.whl.metadata (2.2 kB)
Collecting h11<1,>=0.9.0 (from wsproto==1.*->platformio)
Using cached h11-0.14.0-py3-none-any.whl.metadata (8.2 kB)
Collecting anyio<5,>=3.4.0 (from starlette<0.38,>=0.19->platformio)
Using cached anyio-4.4.0-py3-none-any.whl.metadata (4.6 kB)
Collecting sniffio>=1.1 (from anyio<5,>=3.4.0->starlette<0.38,>=0.19->platformio)
Using cached sniffio-1.3.1-py3-none-any.whl.metadata (3.9 kB)
Using cached ajsonrpc-1.2.0-py3-none-any.whl (22 kB)
Using cached bottle-0.12.25-py3-none-any.whl (90 kB)
Using cached marshmallow-3.22.0-py3-none-any.whl (49 kB)
Using cached pyserial-3.5-py2.py3-none-any.whl (90 kB)
Using cached requests-2.32.3-py3-none-any.whl (64 kB)
Using cached semantic_version-2.10.0-py2.py3-none-any.whl (15 kB)
Using cached tabulate-0.9.0-py3-none-any.whl (35 kB)
Using cached wsproto-1.2.0-py3-none-any.whl (24 kB)
Using cached chardet-5.2.0-py3-none-any.whl (199 kB)
Using cached click-8.1.7-py3-none-any.whl (97 kB)
Using cached pyelftools-0.31-py3-none-any.whl (180 kB)
Using cached starlette-0.37.2-py3-none-any.whl (71 kB)
Using cached uvicorn-0.29.0-py3-none-any.whl (60 kB)
Using cached colorama-0.4.6-py2.py3-none-any.whl (25 kB)
Using cached anyio-4.4.0-py3-none-any.whl (86 kB)
Using cached certifi-2024.8.30-py3-none-any.whl (167 kB)
Using cached charset_normalizer-3.3.2-cp311-cp311-macosx_11_0_arm64.whl (118 kB)
Using cached h11-0.14.0-py3-none-any.whl (58 kB)
Using cached idna-3.8-py3-none-any.whl (66 kB)
Using cached packaging-24.1-py3-none-any.whl (53 kB)
Using cached urllib3-2.2.2-py3-none-any.whl (121 kB)
Using cached sniffio-1.3.1-py3-none-any.whl (10 kB)
Building wheels for collected packages: platformio
Failed to build platformio

  at /Users/chrishector/.vscode/extensions/platformio.platformio-ide-3.3.3-darwin-arm64/node_modules/platformio-node-helpers/dist/index.js:1:5323
  at ChildProcess.i (/Users/chrishector/.vscode/extensions/platformio.platformio-ide-3.3.3-darwin-arm64/node_modules/platformio-node-helpers/dist/index.js:1:4621)
  at ChildProcess.emit (node:events:514:28)
  at ChildProcess.emit (node:domain:488:12)
  at maybeClose (node:internal/child_process:1105:16)
  at Socket.<anonymous> (node:internal/child_process:457:11)
  at Socket.emit (node:events:514:28)
  at Socket.emit (node:domain:488:12)
  at Pipe.<anonymous> (node:net:337:12)

Chect avatar Sep 05 '24 22:09 Chect