Fix stale pip references, update README prerequisites for uv

- README: prerequisites table now notes uv auto-installs Python deps
- scheduler.py: error message points to ./install.sh instead of pip install
- start.sh: removed stderr suppression on pip fallback so errors are visible
This commit is contained in:
Jeremy McClure 2026-08-06 05:21:14 -04:00
parent 21989dadae
commit 54ae2d5dc5
No known key found for this signature in database
GPG Key ID: CA27BD8443157067
3 changed files with 4 additions and 4 deletions

View File

@ -112,7 +112,7 @@ chmod +x install.sh && ./install.sh
| Tool | Required? | Install |
|------|-----------|---------|
| Python 3.10+ | ✅ Required | `sudo apt install python3 python3-pip` |
| Python 3.10+ | ✅ Required | Auto-installed via `uv` by `install.sh` |
| Node.js 18+ | ⚠ For opencode | `curl -fsSL https://deb.nodesource.com/setup_20.x \| sudo bash - && sudo apt install -y nodejs` |
| opencode | ⚠ For code tasks | `npm install -g @opencode/cli` |
| Hermes Agent | ⚠ For memory/scheduling | `curl -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh \| bash` |

View File

@ -151,7 +151,7 @@ class CronScheduler:
from apscheduler.schedulers.background import BackgroundScheduler as BS
from apscheduler.triggers.cron import CronTrigger as CT
except ImportError:
print("Install APScheduler: pip install apscheduler")
print("APScheduler not found. Run ./install.sh to install dependencies.")
return
self._scheduler = BS()
self._reload_jobs()

View File

@ -23,9 +23,9 @@ PYTHON="$VENV_DIR/bin/python3"
# Ensure deps are up to date
UV="bin/uv"
if [ -x "$UV" ]; then
"$UV" pip install --python "$PYTHON" -r requirements.txt --quiet 2>/dev/null
"$UV" pip install --python "$PYTHON" -r requirements.txt --quiet
else
"$PYTHON" -m pip install -r requirements.txt --quiet 2>/dev/null
"$PYTHON" -m pip install -r requirements.txt --quiet
fi
# Get port from settings or default