asdf-community / asdf-community/asdf-python
Broke a shim after pip uninstall then pip install -e .?
- 主要言語
- Shell
- スター
- 729
- フォーク
- 65
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
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?
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
`pip3 install --user promnesia`、アンインストール、`pip install -e .`、`asdf reshim` の順序を再現し、その後、生成された `/home/cobertos/.asdf/shims/promnesia` と `/home/cobertos/.local/bin/promnesia` のパスを調査します。`promnesia` shim が editable installation を解決し、再インストールのシーケンス後に正常に実行されれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- bash, python
- 領域
- cli, tooling
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100