[BUG] Hookify plugin hardcodes "python3" command, fails on Windows where only "python" is available

Resolved 💬 2 comments Opened Feb 10, 2026 by LunarFlow42 Closed Feb 10, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

Hookify plugin hardcodes "python3" command, fails on Windows where only "python" is available

What Should Happen?

The hook scripts should detect the available Python executable (python or python3) and use whichever is found, or
use sys.executable. On Windows, the standard Python installer only creates python.exe, not python3.exe.

Error Messages/Logs

Every tool call produces an error:
 Stop hook error: Failed with non-blocking status code: 'python3' is not recognized as an internal or
  external command,

Steps to Reproduce

  1. Install Claude Code on Windows
  2. Have Python installed (standard Windows installer, which registers python but not python3)
  3. Enable the hookify plugin
  4. Use any tool (e.g. Edit, Bash) — hookify hooks trigger

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.37 (Claude Code)

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Windows Terminal

Additional Information

_No response_

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗