hermes - 💡(How to fix) Fix [Setup]: Termux install fails on Android kernel 4.19 — jiter/maturin cannot compile [1 pull requests]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

Target triple not supported by rustup: aarch64-unknown-linux-android Rust not found, installing into a temporary directory ERROR: Failed to build 'jiter' when installing build dependencies Cannot import 'maturin' openai==2.24.0 requires jiter which requires maturin/Rust

Root Cause

Issue: The installer detects Termux correctly but fails because openai==2.24.0 requires jiter which requires maturin/Rust to compile. Rust cannot compile on kernel 4.19 for aarch64-unknown-linux-android.

Fix Action

Fixed

Code Example



---

Target triple not supported by rustup: aarch64-unknown-linux-android
Rust not found, installing into a temporary directory
ERROR: Failed to build 'jiter' when installing build dependencies
Cannot import 'maturin'
openai==2.24.0 requires jiter which requires maturin/Rust
RAW_BUFFERClick to expand / collapse

What's Going Wrong?

Device: Samsung M12 Kernel: Linux 4.19.111 Python: 3.13.13 Architecture: aarch64

Issue: The installer detects Termux correctly but fails because openai==2.24.0 requires jiter which requires maturin/Rust to compile. Rust cannot compile on kernel 4.19 for aarch64-unknown-linux-android.

Error message: "Target triple not supported by rustup: aarch64-unknown-linux-android" "Cannot import 'maturin'"

Request: Please provide a pre-compiled jiter wheel for Android ARM64 or pin to an openai version that doesn't require jiter, or add a fallback for kernel 4.19 devices.

I followed the official Termux guide exactly.

Steps Taken

  1. Ran: curl -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh | bash
  2. Installer detected Termux/Android correctly
  3. Installation failed during pip dependency install
  4. Tried manual fix: pip install -e '.[termux-all]' -c constraints-termux.txt --no-build-isolation
  5. Also tried installing Rust via rustup — same failure

Installation Method

Install script (curl | bash)

Operating System

Android 11 / Samsung M12 / Termux / Kernel 4.19.111

Python Version

No response

Hermes Version

No response

Debug Report

Full Error Output

Target triple not supported by rustup: aarch64-unknown-linux-android
Rust not found, installing into a temporary directory
ERROR: Failed to build 'jiter' when installing build dependencies
Cannot import 'maturin'
openai==2.24.0 requires jiter which requires maturin/Rust

What I've Already Tried

  • Tried rustup installation — failed, kernel 4.19 not supported
  • Tried --no-build-isolation flag
  • Tried older openai versions — all require jiter
  • Tried installing rust via pkg install rust — mirror failures
  • Tried pyenv for Python 3.11 — kernel too old to compile

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING