Skip to content

Does not install #341

@alexchandel

Description

@alexchandel

Poetry installed with brew install poetry. This is why core functionality should not be in a plugin.

$ poetry self add poetry-plugin-export
Using version ^1.9.0 for poetry-plugin-export

Updating dependencies
Resolving dependencies... (3.6s)

Package operations: 1 install, 2 updates, 0 removals

  - Updating msgpack (1.1.0 -> 1.1.1): Failed

  CalledProcessError

  Command '['/usr/local/Cellar/poetry/2.1.3_1/libexec/bin/python', '/usr/local/Cellar/poetry/2.1.3_1/libexec/lib/python3.13/site-packages/virtualenv/seed/wheels/embed/pip-25.1.1-py3-none-any.whl/pip', 'uninstall', 'msgpack', '-y']' returned non-zero exit status 1.

  at /usr/local/Cellar/[email protected]/3.13.5/Frameworks/Python.framework/Versions/3.13/lib/python3.13/subprocess.py:577 in run
       573│             # We don't call process.wait() as .__exit__ does that for us.
       574│             raise
       575│         retcode = process.poll()
       576│         if check and retcode:
    →  577│             raise CalledProcessError(retcode, process.args,
       578│                                      output=stdout, stderr=stderr)
       579│     return CompletedProcess(process.args, retcode, stdout, stderr)
       580│ 
       581│ 

The following error occurred when trying to handle this error:


  EnvCommandError

  Command ['/usr/local/Cellar/poetry/2.1.3_1/libexec/bin/python', '/usr/local/Cellar/poetry/2.1.3_1/libexec/lib/python3.13/site-packages/virtualenv/seed/wheels/embed/pip-25.1.1-py3-none-any.whl/pip', 'uninstall', 'msgpack', '-y'] errored with the following return code 1
  
  Output:
  Found existing installation: msgpack 1.1.0
  error: uninstall-no-record-file
  
  × Cannot uninstall msgpack 1.1.0
  ╰─> The package's contents are unknown: no RECORD file was found for msgpack.
  
  hint: The package was installed by brew. You should check if it can uninstall the package.
  

  at /usr/local/Cellar/poetry/2.1.3_1/libexec/lib/python3.13/site-packages/poetry/utils/env/base_env.py:434 in _run
      430│                 output = subprocess.check_output(
      431│                     cmd, stderr=stderr, env=env, text=True, encoding=encoding, **kwargs
      432│                 )
      433│         except CalledProcessError as e:
    → 434│             raise EnvCommandError(e)
      435│ 
      436│         return output
      437│ 
      438│     def execute(self, bin: str, *args: str, **kwargs: Any) -> int:

Cannot install msgpack.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions