asdf-community / asdf-community/asdf-python

Broke a shim after pip uninstall then pip install -e .?

Open
#95 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
729
Forks
65
PR merge metrics
No merged PRs in 30d

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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.