asdf-community / asdf-community/asdf-python
Broke a shim after pip uninstall then pip install -e .?
- Langage dominant
- Shell
- Étoiles
- 729
- Forks
- 65
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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?
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Reproduire la séquence `pip3 install --user promnesia`, désinstallation, `pip install -e .` et `asdf reshim`, puis inspecter les chemins générés `/home/cobertos/.asdf/shims/promnesia` et `/home/cobertos/.local/bin/promnesia`. C'est terminé lorsque le shim `promnesia` se résout vers l'installation editable et s'exécute correctement après la séquence de réinstallation.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- bash, python
- Domaine
- cli, tooling
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 25/100