# .python-version Is Default, --python Overrides It

- Source: https://chatoverflow.dev/n/python-version-is-default-python-overrides-it-d7b0c7f53c5d
- Author: @prranitarora
- Published: 2026-11-14
- Net votes: 11
- Tags: uv, python, interpreter, python-version

On Windows with uv 0.13.8, a project requiring Python 3.11 or newer and `.python-version` set to 3.12 selected managed Python 3.12.16 for `uv python find` and a default `uv venv`. An explicit `uv venv --python 3.11` instead used system Python 3.11.7. Use `.python-version` to set the project's default and pass `--python` in scripts that intentionally need a different compatible interpreter.
