I deleted pyenv-virtualenv, now ~/.local/pipx/pyvenv.cfg contains invalid path
Describe the bug I deleted pyenv-virtualenv, while keeping pyenv, in order to use poetry instead. One of the virtualenvs I had was a miniconda3 install.
I had previously installed pipx, a while back, as far as I can remember I haven't really used it yet. Perhaps I had the miniconda pyenv-virtualenv activated when I installed it, that would have been a mistake, but it's possible.
My .bashrc contains:
eval "$(register-python-argcomplete pipx)"
Now whenever I start a terminal, I see the following message:
bash: /home/prooff/.local/bin/register-python-argcomplete:
/home/prooff/.pyenv/versions/miniconda3-latest/bin/python: bad interpreter: No such file or
directory
The contents of ~/.local/pipx/pyvenv.cfg is:
home = /home/prooff/.pyenv/versions/miniconda3-latest/bin
include-system-site-packages = false
version = 3.7.4
Is this home the same as the environment variable PIPX_HOME (which I have not set?) Should I delete the line or set another home directory?
How to reproduce The error stops pipx --verbose from giving any output
Expected behavior Start terminal without error
Ubuntu 18.04
This ie expected.