pipx
pipx copied to clipboard
Pipx is unable to recover from "missing internal metadata" scenario
Describe the bug
⚠️ package mypkg has missing internal pipx metadata.
How to reproduce
Kill a running pipx installation at the wrong time during installation.
Expected behavior
After this scenario is reached the only way to recover is to manually delete the venv associated with the package.
Uninstall will not work on such packages.
However, if pipx can detect such corrupted venvs, it should be able to uninstall them as well.
Related: #1606
Do you have a detailed output when you kill a running pipx installation process? The venv should be removed automatically under normal circumstances.