Skip to content

Install Python venv

Dave Lawrence edited this page Jul 30, 2026 · 4 revisions

We recommend Python 3.11+ for the performance improvements

Python 3.12 is already installed on Ubuntu 24

Install uv

sudo snap install astral-uv --classic

Create venv:

cd /opt/variantgrid  # Or wherever your install is
uv venv

Activate venv and install requirements:

source .venv/bin/activate
uv pip install -r requirements.txt

Keep it at .venv in the VariantGrid install dir - that is the standard location, and it's what Install system services and scripts/upgrade.sh use by default. On a server, create it as the variantgrid user so the services can read it.

Clone this wiki locally