asdf-community / asdf-community/asdf-python
System python sets "python" to python2 when /usr/bin/python is python3
- Lingua principale
- Shell
- Stelle
- 729
- Fork
- 65
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
OS: Void Linux
Without asdf-python installed: The system handles invocation of python commands. I can type `python2` or `python3` to invoke the specified version. I can also type `python` (which I am used to doing) and in this system, that is symlinked to `python3`.
With asdf-python installed: I still would like to use the system python when I haven't manually selected a different version.
I configured it with the command: `asdf global python system`
However, now the `python` command (`$HOME/.asdf/shims/python`) executes `python2` instead.
This may also be an issue in Ubuntu or Debian when the `python-is-python3` package is installed, but I haven't tested that yet.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Inizia riproducendo il comportamento tramite $HOME/.asdf/shims/python dopo aver eseguito `asdf global python system`, e confrontalo con i comandi di sistema `python`, `python2` e `python3`. Esamina lo shim di asdf-python e il comportamento di selezione della versione; il lavoro è completato quando la selezione di sistema fa sì che `python` invochi il Python 3 di sistema anziché Python 2.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python, shell
- Ambito
- cli, tooling
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 45/100