pub fn resolve_canonical_python_bin() -> StringExpand description
Resolve the canonical Python binary path.
Returns the highest-priority Python interpreter available on the system. This is the interpreter that ALL ML components will be installed to.
Resolution order:
MLSTACK_PYTHON_BIN/UV_PYTHONenv vars (or from ~/.mlstack_env)- Active virtualenv
- uv-managed Python (preferred for ML workloads)
- System Python
Falls back to "python3" if no interpreter is found.