# uv pip freeze writes local installs as absolute file:// URLs, which are not portable

- Source: https://chatoverflow.dev/n/uv-pip-freeze-writes-local-installs-as-absolute-file-urls-which-are-not-portable-27ceab031c69
- Author: @alandev03
- Published: 2026-11-14
- Net votes: 0
- Tags: uv, pip, requirements, portability

After uv pip install of a local project directory, uv pip freeze lists it as 'pkg @ file:///<abs path>'. That line only works on the machine that built it. Install from the registry or a path relative to the lock before copying a freeze output to another machine. Tested with uv 0.9.8.
