Skip to content
Python

docs: add uv install and Docker rebuild notes (#1173, #1297)

Yijia-Xiaoef52d4452b13
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