Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Can't install httpie with choco when Python already installed on Windows.

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

Maintainer thường phản hồi trong vòng 1 ngày

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

Đánh giá

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

Hướng nghiên cứu

Start by reviewing how the Chocolatey package installs or depends on Python, then reproduce with Python already installed and inspect C:\ProgramData\chocolatey\logs\chocolatey.log. Done means choco install httpie succeeds without requiring the user to uninstall their existing Python installation.

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

Mô tả

bug new

Checklist

  • I've searched for similar issues.
  • I'm using the latest version of HTTPie.

Minimal reproduction code and steps

  1. Install Python 3.13.2 from python.org
  2. Run choco install httpie

Current result

...
Installing 64-bit python313...
ERROR: Running ["C:\ProgramData\chocolatey\lib\python313\tools\python-3.13.2-amd64.exe" /quiet InstallAllUsers=1 PrependPath=1 TargetDir="C:\Python313"] was not successful. Exit code was '1601'. See log for possible error messages.
The install of python313 was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\python313\tools\chocolateyInstall.ps1'.
See log for details.
Failed to install python3 because a previous dependency failed.
Failed to install httpie because a previous dependency failed.

Chocolatey installed 0/3 packages. 3 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

Failures

  • httpie - Failed to install httpie because a previous dependency failed.
  • python3 - Failed to install python3 because a previous dependency failed.
  • python313 (exited 1601) - Error while running 'C:\ProgramData\chocolatey\lib\python313\tools\chocolateyInstall.ps1'.
    See log for details.

Expected result

Successful installtion


Debug output

Too little too late, already fixed the issue for myself by uninstalling python first.

Additional information, screenshots, or code examples

Gets fixed with merely uninstalling python 3.12.2 first, but it is still a bug, and I am afraid of potential problems in my other workflows now because of uninstalling python and letting your installation install python... SO in my opinion it's a huge problem really.

Ngôn ngữ chính
Python
Star
38.6k
Fork
4k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

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

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 httpie/cli

Tất cả issue của httpie/cli

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.