-
Notifications
You must be signed in to change notification settings - Fork 4
Install Python venv
Dave Lawrence edited this page Aug 7, 2026
·
5 revisions
We recommend Python 3.11+ for the performance improvements
Python 3.12 is already installed on Ubuntu 24
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 (Server) and scripts/upgrade.sh use by default. On a server, create it as the variantgrid user so the services can read it.