uv: Editable package install fails after a previous uninstall

Steps to reproduce

  • Activate a conda environment.
  • Install a local package that I have using uv pip install -e .
  • Uninstall the local package using uv pip uninstall -e .
  • Install the local package again using uv pip install -e .

I get the following error:

error: Cannot uninstall package; RECORD file not found at: path/to/site-packages/mylib-0.1.dist-info/RECORD

If I manually remove path/to/site-packages/mylib-0.1.dist-info directory, then I am able to install my local package again.

About this issue

  • Original URL
  • State: closed
  • Created 4 months ago
  • Comments: 17 (11 by maintainers)

Commits related to this issue

Most upvoted comments

Good news, I’m able to reproduce this on Windows 2019 in GitHub Actions! https://github.com/astral-sh/uv/pull/2259