You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Skill falls back to system Python when .graphify_python is missing #92
When graphify is installed via pipx, the skill's Step 1 writes the correct Python interpreter path to graphify-out/.graphify_python. All subsequent steps use $(cat graphify-out/.graphify_python) to run against the pipx venv where networkx and other dependencies live.
However, Step 9 cleans up .graphify_python along with the other temp files. This means any follow-up invocation (--update, --cluster-only, query, path, explain) that doesn't re-run Step 1 will fall back to $(which python3) — the system Python — which doesn't have networkx installed:
ModuleNotFoundError: No module named 'networkx'
Repro
Install via pipx install graphifyy
Run /graphify . (works fine — Step 1 resolves the pipx interpreter)
Run /graphify query "something" (fails — .graphify_python was cleaned up, falls back to system Python)
Suggested fix
Every skill entry point (not just the full pipeline) should resolve the correct interpreter at the top. Either:
Don't clean up .graphify_python in Step 9 — it's tiny and useful across invocations
Or add the interpreter detection snippet to the start of every subcommand (query, path, explain, --update, --cluster-only)
Option 1 is simpler and covers all cases.
Environment
macOS (Homebrew Python 3.14, externally managed)
graphify installed via pipx install graphifyy (v0.3.15)
Fixed in v0.3.16 — .graphify_python is no longer deleted in Step 9 cleanup across all 6 skill files. Follow-up commands (query, --update, --cluster-only) now correctly reuse the pipx interpreter from the initial run.
Activity
fix: preserve .graphify_python across invocations (Graphify-Labs#92)
safishamsi commentedon Apr 8, 2026
Fixed in v0.3.16 — .graphify_python is no longer deleted in Step 9 cleanup across all 6 skill files. Follow-up commands (query, --update, --cluster-only) now correctly reuse the pipx interpreter from the initial run.