Files
claudetools/.claude/memory/python3-shim-use-python.md

1.5 KiB

name, description, metadata
name description metadata
python3-shim-use-python On GURU-5070, `python3` in Git bash resolves to the flaky MS Store shim (errors with "run without arguments to install from the Microsoft Store"). Use `python` (real 3.12.10) or `py` (3.14.5) instead — affects coord.py, wiki-compile, any python tooling.
type
reference

On GURU-5070 (verified 2026-06-11), invoking python3 from the Bash/Git-bash tool hits the Microsoft Store app-execution-alias shim (~/AppData/Local/Microsoft/WindowsApps/python3.exe), which can error with Python was not found; run without arguments to install from the Microsoft Store. So PY=$(command -v python3 || command -v python) picks the SHIM first (it exists as a file, so command -v succeeds) and breaks.

Real interpreters that work (both from Bash and PowerShell):

  • python -> 3.12.10 (~/AppData/Local/Programs/Python/Python312/python.exe)
  • py -> 3.14.5 (the Windows launcher; py -0p lists all)

Fix / how to apply: when a skill or script needs Python on this box, run python (or py), NEVER python3. This affects the coord skill (.claude/skills/coord/scripts/coord.py — verified working via python, reaches the live coord API at 172.16.3.30:8001) and /wiki-compile (which hardcodes python3 -c "import urllib..." for URL-encoding and command -v python3). When a skill hardcodes python3, substitute python. The coord per-article lock IS claimable here — do not skip it as "no local Python". Related: gururmm-session-logs-submodule-save.