From d88e6d476c35a5ee2443022ba0ba51d22b33b6a7 Mon Sep 17 00:00:00 2001 From: GuZiLi Date: Thu, 7 May 2026 15:37:38 +0800 Subject: [PATCH] docs: add venv step to standard installation Mirror the uv workflow's isolated-environment approach in the standard pip installation path so users don't install UI dependencies into their global Python environment. Co-Authored-By: Claude Sonnet 4.6 --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4b02d2a1..4d39d0e8 100644 --- a/README.md +++ b/README.md @@ -80,14 +80,18 @@ After a few weeks, your agent instance will have a skill tree no one else in the git clone https://github.com/lsdefine/GenericAgent.git cd GenericAgent -# 2. Install minimal dependencies +# 2. Create and activate a virtual environment +python -m venv .venv +source .venv/bin/activate # Windows: .venv\Scripts\activate + +# 3. Install minimal dependencies pip install requests streamlit pywebview -# 3. Configure API Key +# 4. Configure API Key cp mykey_template.py mykey.py # Edit mykey.py and fill in your LLM API Key -# 4. Launch +# 5. Launch python launch.pyw ```