mother: preflight numpy/Pillow imports, not just python3 #179
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "mother-geodesic-deps"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Corrects an inaccuracy from #178:
geodesic-dome-mcpis not stdlib-only — it importsnumpyandPIL(Pillow) at module load (lines 12-13, unguarded).Why this matters
The #178 preflight only ran
command -v python3. That passes on a host that has python3 but lacks numpy/Pillow — andgeodesic-dome-mcpthen fails only when the MCP host first invokes it. That's the exact late-failure the preflight was meant to prevent, so the check was effectively false confidence.Changes
setup-mother.sh— after the python3-exists check, addpython3 -c "import numpy, PIL"; abort with apkg install py311-numpy py311-pillowhint if either is missing. Now the preflight verifies the real dependency.MOTHER-SETUP.md— correct the prereq:python3+numpy+Pillow, install viapkg install python3 py311-numpy py311-pillow.Scope note: this hardens mother-on-osa setup (G4), separate from the ISO build lane.
sh -nclean.🤖 Generated with Claude Code