asdf-community / asdf-community/asdf-python
asdf cannot find pip in python 3.10.4
- Vorherrschende Sprache
- Shell
- Sterne
- 729
- Forks
- 65
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
- did `asdf reshim`
- set local python to `3.10.4`
- `asdf list python` works
- python version is correct
- `asdf exec` shows correct pip version
- however, `No preset version installed for command pip`
## log
```sh
^^/R/e/diffalarm >>> asdf reshim (126) (*minimal+1) 18:00:01
^^/R/e/diffalarm >>> asdf list python (*minimal+1) 18:00:12
3.10.4
3.11.0rc2
3.6.15
3.6.7
3.7.9
^^/R/e/diffalarm >>> asdf local python 3.10.4
^^/R/e/diffalarm >>> python -c "print('Hello World!')"
Hello World!
^^/R/e/diffalarm >>> pip (*minimal+1) 18:00:41
No preset version installed for command pip
Please install a version by running one of the following:
asdf install python 3.10.4
or add one of the following versions in your config file at /home/scarf/Repo/etc/diffalarm/.tool-versions
python 3.11.0rc2
python 3.6.15
python 3.6.7
python 3.7.9
^^/R/e/diffalarm >>> asdf exec python3 -m pip --version
pip 22.2.2 from /home/scarf/.local/lib/python3.10/site-packages/pip (python 3.10)
^^/R/e/diffalarm >>> python --version (*minimal+1) 18:01:15
Python 3.10.4
``
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Reproduziere das gemeldete Verhalten mit `asdf local python 3.10.4`, `pip` und `asdf exec python3 -m pip --version`; untersuche anschließend die Befehls-Shims von asdf-python und das Reshim-Verhalten. Als abgeschlossen gilt die Aufgabe, wenn die ausgewählte Python-Version `pip` nach `asdf reshim` als funktionierenden Befehl bereitstellt, während das bestehende Verhalten von `python3 -m pip` unverändert bleibt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python, shell
- Bereich
- cli, tooling
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100