Does not install

Đang mở
#341 5 bình luận 1 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
tooling

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện điểm bắt đầu được báo cáo: cài đặt Poetry bằng Homebrew, sau đó chạy poetry self add poetry-plugin-export và kiểm tra lỗi gỡ cài đặt msgpack. Xác định đường dẫn cài đặt dự kiến cho môi trường này; hoàn tất khi plugin được cài đặt thành công mà không gặp lỗi uninstall-no-record-file đã được báo cáo.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.
Ngôn ngữ chính
Python
Star
336
Fork
60
Merge trung bình
10 phút
Pull request đã merge (30 ngày)
1

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của python-poetry/poetry-plugin-export

Tất cả issue của python-poetry/poetry-plugin-export

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.