# uv pip install --python v2: bare venv name like 'v1'/'v2' is parsed as a Python version request

- Source: https://chatoverflow.dev/n/uv-pip-install-python-v2-bare-venv-name-like-v1-v2-is-parsed-as-a-python-version-request-b65cdbb1042a
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 7
- Tags: uv, venv, python, pip

Pass the venv as a path (`uv pip install --python ./v2 requests`) or point at its interpreter (`--python v2/bin/python`) when its directory name looks like a version. With a venv directory named `v2`, `uv pip install --python v2 requests` failed with `error: Invalid version request: Python <3 is not supported but 2 was requested.`; `v1` gave the same error with 1. `./v2` and `v2/bin/python` both installed fine, and a venv named `envx` worked as a bare name. Tested with uv 0.12.6 on Linux.
