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

Installation Manager

Open mjschurman 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.88.1 PIO IDE: v3.3.3 System: Darwin, 23.5.0, arm64

%23 Exception

Error: WARNING: There was an error checking the latest version of pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [12 lines of output]
    Traceback (most recent call last):
      File "/Users/matthewschurman/.platformio/penv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 15, in <module>
        import json
      File "/Users/matthewschurman/.platformio/python3/lib/python3.11/json/__init__.py", line 106, in <module>
        from .decoder import JSONDecoder, JSONDecodeError
      File "/Users/matthewschurman/.platformio/python3/lib/python3.11/json/decoder.py", line 3, in <module>
        import re
      File "/Users/matthewschurman/.platformio/python3/lib/python3.11/re/__init__.py", line 124, in <module>
        import enum
      File "/Users/matthewschurman/.platformio/python3/lib/python3.11/enum.py", line 3, in <module>
        from types import MappingProxyType, DynamicClassAttribute
    ModuleNotFoundError: No module named 'types'
    [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel 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.
Error: Could not install PlatformIO Core: Command '['/Users/matthewschurman/.platformio/penv/bin/python', '-m', 'pip', 'install', '-U', 'platformio']' returned non-zero exit status 1.
-> Installer version: 1.2.2
Platform: macOS-14.5
Python version: 3.11.7 (main, Mar 26 2024, 13:16:44) [Clang 15.0.0 (clang-1500.0.40.1)]
Python path: /Users/matthewschurman/.platformio/python3/bin/python3
Creating a virtual environment at /Users/matthewschurman/.platformio/penv
Updating Python package manager (PIP) in the virtual environment
Requirement already satisfied: pip in /Users/matthewschurman/.platformio/penv/lib/python3.11/site-packages (23.2.1)
Collecting pip
Obtaining dependency information for pip from https://files.pythonhosted.org/packages/8a/6a/19e9fe04fca059ccf770861c7d5721ab4c2aebc539889e97c7977528a53b/pip-24.0-py3-none-any.whl.metadata
Downloading pip-24.0-py3-none-any.whl.metadata (3.6 kB)
Downloading pip-24.0-py3-none-any.whl (2.1 MB)
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 MB 20.6 MB/s eta 0:00:00
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.0
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 'error'

  at /Users/matthewschurman/.vscode/extensions/platformio.platformio-ide-3.3.3-darwin-arm64/node_modules/platformio-node-helpers/dist/index.js:1:5323
  at ChildProcess.i (/Users/matthewschurman/.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:517:28)
  at ChildProcess.emit (node:domain:489:12)
  at maybeClose (node:internal/child_process:1098:16)
  at Socket.<anonymous> (node:internal/child_process:450:11)
  at Socket.emit (node:events:517:28)
  at Socket.emit (node:domain:489:12)
  at Pipe.<anonymous> (node:net:350:12)

mjschurman avatar Jun 04 '24 14:06 mjschurman