Can't install httpie with choco when Python already installed on Windows.
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
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ả
Checklist
- I've searched for similar issues.
- I'm using the latest version of HTTPie.
Minimal reproduction code and steps
- Install Python 3.13.2 from python.org
- 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
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của httpie/cli
-
new
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
httpie/cli#1939 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
httpie/cli#1898 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug new
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
httpie/cli#1838 · 4 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
httpie/cli#1834 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
argparser.py: HTTPieArgumentParser has high cyclomatic complexity and mixed responsibilitiesĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
httpie/cli#1828 · 2 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
solana-foundation/pay-kit#341 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
nasa/python_cmr#123 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
EleutherAI/lm-evaluation-harness#4243 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: dashboard bug perceived difficulty: 3
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Nitjsefnie-Harness-Commons/daedalus#1179 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
cusp-ai-oss/tojax#17 ·