Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta
#1,621 2 commenti 1 reazione 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python
Ambito
cli

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Python
Stelle
38.6k
Fork
4k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di httpie/cli

Tutte le issue di httpie/cli

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.