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

Installation Manager

Open mathieucarbou opened this issue 11 months 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.94.2 PIO IDE: v1.0.4 System: Darwin, 24.1.0, arm64

%23 Exception

Error: Error: Compatible PlatformIO Core not found.
Reason: Could not run `/Users/mat/.platformio/penv/bin/platformio --help`.
Error: ModuleNotFoundError: Traceback (most recent call last):
File "/Users/mat/.platformio/penv/lib/python3.13/site-packages/platformio/__main__.py", line 103, in main
  cli()  %23 pylint: disable=no-value-for-parameter
  ~~~^^
File "/Users/mat/.platformio/penv/lib/python3.13/site-packages/click/core.py", line 1157, in __call__
  return self.main(*args, **kwargs)
         ~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/Users/mat/.platformio/penv/lib/python3.13/site-packages/click/core.py", line 1077, in main
  with self.make_context(prog_name, args, **extra) as ctx:
       ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/mat/.platformio/penv/lib/python3.13/site-packages/click/core.py", line 943, in make_context
  self.parse_args(ctx, args)
  ~~~~~~~~~~~~~~~^^^^^^^^^^^
File "/Users/mat/.platformio/penv/lib/python3.13/site-packages/click/core.py", line 1644, in parse_args
  rest = super().parse_args(ctx, args)
File "/Users/mat/.platformio/penv/lib/python3.13/site-packages/click/core.py", line 1408, in parse_args
  value, args = param.handle_parse_result(ctx, opts, args)
                ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/Users/mat/.platformio/penv/lib/python3.13/site-packages/click/core.py", line 2400, in handle_parse_result
  value = self.process_value(ctx, value)
File "/Users/mat/.platformio/penv/lib/python3.13/site-packages/click/core.py", line 2362, in process_value
  value = self.callback(ctx, self, value)
File "/Users/mat/.platformio/penv/lib/python3.13/site-packages/click/core.py", line 1300, in show_help
  echo(ctx.get_help(), color=ctx.color)
       ~~~~~~~~~~~~^^
File "/Users/mat/.platformio/penv/lib/python3.13/site-packages/click/core.py", line 704, in get_help
  return self.command.get_help(self)
         ~~~~~~~~~~~~~~~~~~~~~^^^^^^
File "/Users/mat/.platformio/penv/lib/python3.13/site-packages/click/core.py", line 1325, in get_help
  self.format_help(ctx, formatter)
  ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "/Users/mat/.platformio/penv/lib/python3.13/site-packages/click/core.py", line 1358, in format_help
  self.format_options(ctx, formatter)
  ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "/Users/mat/.platformio/penv/lib/python3.13/site-packages/click/core.py", line 1564, in format_options
  self.format_commands(ctx, formatter)
  ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "/Users/mat/.platformio/penv/lib/python3.13/site-packages/click/core.py", line 1617, in format_commands
  cmd = self.get_command(ctx, subcommand)
File "/Users/mat/.platformio/penv/lib/python3.13/site-packages/platformio/cli.py", line 94, in get_command
  module = importlib.import_module(commands[cmd_name])
File "/opt/homebrew/Cellar/[email protected]/3.13.0_1/Frameworks/Python.framework/Versions/3.13/lib/python3.13/importlib/__init__.py", line 88, in import_module
  return _bootstrap._gcd_import(name[level:], package, level)
         ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 1022, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "/Users/mat/.platformio/penv/lib/python3.13/site-packages/platformio/package/cli.py", line 21, in <module>
  from platformio.package.commands.pack import package_pack_cmd
File "/Users/mat/.platformio/penv/lib/python3.13/site-packages/platformio/package/commands/pack.py", line 20, in <module>
  from platformio.package.manifest.schema import ManifestSchema, ManifestValidationError
File "/Users/mat/.platformio/penv/lib/python3.13/site-packages/platformio/package/manifest/schema.py", line 20, in <module>
  import marshmallow
File "/Users/mat/.platformio/penv/lib/python3.13/site-packages/marshmallow/__init__.py", line 6, in <module>
  from packaging.version import Version
ModuleNotFoundError: No module named 'packaging.version'

============================================================

An unexpected error occurred. Further steps:

* Verify that you have the latest version of PlatformIO using
`python -m pip install -U platformio` command

* Try to find answer in FAQ Troubleshooting section
https://docs.platformio.org/page/faq/index.html

* Report this problem to the developers
https://github.com/platformio/platformio-core/issues

============================================================


-> Could not download actual pioarduino core. Try to install v6.1.16 instead.

  at /Users/mat/.vscode/extensions/pioarduino.pioarduino-ide-1.0.4/node_modules/pioarduino-node-helpers/dist/index.js:1:5262
  at ChildProcess.d (/Users/mat/.vscode/extensions/pioarduino.pioarduino-ide-1.0.4/node_modules/pioarduino-node-helpers/dist/index.js:1:4560)
  at ChildProcess.emit (node:events:519: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:519:28)
  at Socket.emit (node:domain:488:12)
  at Pipe.<anonymous> (node:net:339:12)

mathieucarbou avatar Oct 28 '24 23:10 mathieucarbou