Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
2 tasks done
drforse opened this issue Mar 18, 2025 · 0 comments
Open
2 tasks done
Labels
bug Something isn't working new Needs triage. Comments are welcome!

Comments

@drforse
Copy link

drforse commented Mar 18, 2025

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.

@drforse drforse added bug Something isn't working new Needs triage. Comments are welcome! labels Mar 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working new Needs triage. Comments are welcome!
Projects
None yet
Development

No branches or pull requests

1 participant