pipx icon indicating copy to clipboard operation
pipx copied to clipboard

Pipx is unable to recover from "missing internal metadata" scenario

Open sigma67 opened this issue 6 months ago • 1 comments

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

sigma67 avatar Jun 17 '25 07:06 sigma67

Do you have a detailed output when you kill a running pipx installation process? The venv should be removed automatically under normal circumstances.

dukecat0 avatar Oct 06 '25 06:10 dukecat0