- Install uv from the installation page
- run
uv sync
, there should now be a .venv folder - activate in terminal
source /.venv/bin/activate
- or choose via your IDE
To start from scratch in linux:
curl -LsSf https://astral.sh/uv/install.sh | sh
uv init .
uv add -r requirements.txt
To use existing uv.lock:
uv sync
uv add torch
uv add -r requirements.txt
uv remove tensosrflow
for more check the dependencies page
. "$HOME/.cargo/env"
export PIP_CACHE_DIR=/local/s3777103/.cache/.pip
export UV_CACHE_DIR=/local/s3777103/.cache/.uv