From ef52d4452b13cc18bf57e49ee3f627dc292f8f55 Mon Sep 17 00:00:00 2001 From: Yijia-Xiao Date: Tue, 15 Sep 2026 01:33:48 +0000 Subject: [PATCH] docs: add uv install and Docker rebuild notes (#1173, #1297) - uv alternative to conda and pip - rebuild the Docker image after updating --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 66cc2c3b2..1cf0344d1 100644 --- a/README.md +++ b/README.md @@ -110,7 +110,13 @@ conda create -n tradingagents python=3.12 conda activate tradingagents ``` -Install the package and its dependencies: +Or with [uv](https://docs.astral.sh/uv/): +```bash +uv venv --python 3.12 +source .venv/bin/activate +``` + +Install the package and its dependencies (`uv pip install .` with uv): ```bash pip install . ``` @@ -123,6 +129,8 @@ cp .env.example .env # add your API keys docker compose run --rm tradingagents ``` +After updating the repository, rebuild the image with `docker compose build`. + For local models with Ollama: ```bash docker compose --profile ollama run --rm tradingagents-ollama