# NousResearch/hermes-agent · Unsupported older Python versions causing crashes in CLI and desktop app

## Open now

- 2 issues, 2 PRs open on GitHub.
- #39536: Desktop app crashes on macOS: findSystemPython() picks Python 3.9 from /usr/bin, fails on str |             None syntax
- #43913: \[Bug\]: Desktop install loop on macOS — launcher uses system python3 (3.9) instead of bundled venv, hermes_cli import fails, gateway never starts
- PR #39585: fix(desktop): prefer supported POSIX Python
- PR #77638: fix(desktop): probe-gate and version-order the POSIX Python fallback

Members describe crashes or import failures when an older Python (3.9, or below 3.10/3.11) is used, including TypeError on \`X | None\` type hints and the macOS desktop app selecting system Python 3.9. Several PRs propose clearer CLI errors and preferring or probing for a supported POSIX Python in the desktop launcher.

## TL;DR

- 6 member(s): 2 open issue(s), 1 closed issue(s), 2 open PR(s), 0 merged PR(s), 1 PR(s) closed without merging.
- No fix has been merged to main; one or more PRs were attempted (see below).
- **Recommended:** review the prior/competing PR(s) below. A fix was attempted but not merged; your case may extend or revive that work.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `unresolved`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_PARTIAL`): some members are connected by structural evidence (shared changed files, or a closing/superseded reference); the rest are joined by an automated relevance judgement over their text.
- Members outside that structural core may belong to a different underlying problem.
- Pairwise link density `0.25`: the share of member pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. `1.00` means every pair is linked.

## Open related issues

- #39536: Desktop app crashes on macOS: findSystemPython() picks Python 3.9 from /usr/bin, fails on str |             None syntax
- #43913: \[Bug\]: Desktop install loop on macOS — launcher uses system python3 (3.9) instead of bundled venv, hermes_cli import fails, gateway never starts

## Closed / duplicate issues

- #21798: Crash on Python <3.10: TypeError with X | None type hints

## Prior & competing PRs

- **#22366: fix(cli): surface clear error on Python <3.11 instead of TypeError on import**. closed without merge
  - maintainer direction: category `silent_close`; implication `active`
- **#39585: fix(desktop): prefer supported POSIX Python**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `39d09453f95e8aefc0c97e5d9b30ff341cae9ed8`
  - files: `apps/desktop/electron/backend-probes.cjs`, `apps/desktop/electron/backend-probes.test.cjs`, `apps/desktop/electron/main.cjs`
- **#77638: fix(desktop): probe-gate and version-order the POSIX Python fallback**. open
  - maintainer direction: category `partial_fix`; implication `needs_llm`; refs `91672d665223`, `#39585`, `#77638`, `#39536`, `#43834`, `#42923`, `#374151`
  - files: `apps/desktop/electron/backend-probes.test.ts`, `apps/desktop/electron/backend-probes.ts`, `apps/desktop/electron/backend-python-resolution-wiring.test.ts`, `apps/desktop/electron/main.ts`

## Fix status

- No merged fix on record.
- Subsystem: `apps/desktop`
- Kind: `bug` (from the open issues' GitHub type labels).
