Does not install

オープン
#341 コメント 5 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
python
領域
tooling

調査の方向性

まず、報告されたエントリーポイントを再現します。Homebrew で Poetry をインストールし、次に poetry self add poetry-plugin-export を実行して、msgpack のアンインストール失敗を調査します。この環境で想定されるインストールパスを特定してください。報告された uninstall-no-record-file エラーが発生せずにプラグインのインストールに成功すれば完了です。

索引モデルが issue の本文から書いたものです。

説明

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.
主要言語
Python
スター
336
フォーク
59
平均マージ
10分
マージ済み PR(30日)
1

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

python-poetry/poetry-plugin-export のほかの issue

python-poetry/poetry-plugin-export の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。