aws / aws/git-remote-codecommit
Unable to install : requires venv
- Lingua principale
- Python
- Stelle
- 289
- Fork
- 40
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Ubuntu 24.04 and similar will all fail to be able to follow https://docs.aws.amazon.com/codecommit/latest/userguide/setting-up-git-remote-codecommit.html because
```
$ sudo pip install git-remote-codecommit
error: externally-managed-environment
× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.
If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.
If you wish to install a non-Debian packaged Python application,
it may be easiest to use pipx install xyz, which will manage a
virtual environment for you. Make sure you have pipx installed.
See /usr/share/doc/python3.12/README.venv for more information.
note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
```
supplying `--user`is no help.
PEP 668 was applied to most Linux distributions ages ago.
Is there a workaround or updated docs ?
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia esaminando le istruzioni collegate per la configurazione di AWS CodeCommit e il comando documentato `sudo pip install git-remote-codecommit` alla luce di Ubuntu 24.04 e PEP 668. Aggiorna le istruzioni di installazione con una soluzione alternativa supportata, quindi verifica che i passaggi documentati installino l’helper senza richiedere modifiche a pip a livello di sistema.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- documentation
- Tipo di issue
- Documentazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 48/100