fix(deps): add agno[sqlite] extra to pull in sqlalchemy
agno ships sqlalchemy as an optional dependency under its `sqlite` extra. Installing bare `agno` (without the extra) left sqlalchemy absent, causing `ModuleNotFoundError: No module named 'sqlalchemy'` on `make dev`. Changing the dependency spec from `agno>=1.4.0` to `agno[sqlite]>=1.4.0` ensures sqlalchemy is installed automatically by `make install`. Also added a troubleshooting entry to README.md for this error. https://claude.ai/code/session_01W8jeKbHYNS75mPhGLYJxVq
This commit is contained in:
@@ -223,6 +223,9 @@ Makefile # Common dev commands
|
||||
|
||||
**`connection refused` in chat** — run `ollama serve` in a separate terminal
|
||||
|
||||
**`ModuleNotFoundError: No module named 'sqlalchemy'`** — re-run install to pick up the updated `agno[sqlite]` dependency:
|
||||
`make install`
|
||||
|
||||
**`ModuleNotFoundError: No module named 'dashboard'`** — activate the venv:
|
||||
`source .venv/bin/activate && pip install -e ".[dev]"`
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ readme = "README.md"
|
||||
requires-python = ">=3.11"
|
||||
license = { text = "MIT" }
|
||||
dependencies = [
|
||||
"agno>=1.4.0",
|
||||
"agno[sqlite]>=1.4.0",
|
||||
"fastapi>=0.115.0",
|
||||
"uvicorn[standard]>=0.32.0",
|
||||
"jinja2>=3.1.0",
|
||||
|
||||
Reference in New Issue
Block a user