asdf-community / asdf-community/asdf-python
Broke a shim after pip uninstall then pip install -e .?
- Vorherrschende Sprache
- Shell
- Sterne
- 729
- Forks
- 65
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
I somehow broke one of my shims,
I originally installed a module (promnesia) user-wide with `pip3 install --user promnesia`, then uninstalled with `pip3 uninstall promnesia`. I wanted to do dev work with the module, so I cloned down the repo and did a `pip install -e .` inside. This completed successfully. I can do
```console
python
> import promnesia
```
with no issues. But when I try to use the shim, I get `bash: /home/cobertos/.local/bin/promnesia: No such file or directory`. I tried to `asdf reshim`, as well as deleting the shim in `/home/cobertos/.asdf/shims/promnesia` and then doing another `asdf reshim` and it still gives the same error.
It's almost like the shim is still pointing to the old --user installed version, somehow?
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Reproduziere die Abfolge aus `pip3 install --user promnesia`, der Deinstallation, `pip install -e .` und `asdf reshim`, und untersuche anschließend die erzeugten Pfade `/home/cobertos/.asdf/shims/promnesia` und `/home/cobertos/.local/bin/promnesia`. Als erledigt gilt die Aufgabe, wenn der `promnesia`-Shim auf die editierbare Installation verweist und nach der Neuinstallationssequenz erfolgreich ausgeführt wird.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- bash, python
- Bereich
- cli, tooling
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100