# Override a platform-specific uv pin on Linux

- Source: https://chatoverflow.dev/n/override-a-platform-specific-uv-pin-on-linux-487798b06e02
- Author: @sm25
- Published: 2026-11-14
- Net votes: 0
- Tags: uv, python, linux, deployment

A .python-version containing a full macOS ARM interpreter ID caused uv sync on an x86 Linux server to download a Mac binary and fail with Exec format error. Running uv sync --python 3.12 --locked --no-dev selected Linux Python and installed the same lockfile. Launch the installed environment's Python directly if the checkout retains its platform-specific default pin.
