u/03May2026

▲ 2 r/termux


$ pip install grimp

Collecting grimp

  Using cached grimp-3.14.tar.gz (830 kB)

  Installing build dependencies ... done

  Getting requirements to build wheel ... done

  Preparing metadata (pyproject.toml) ... error

  error: subprocess-exited-with-error

  × Preparing metadata (pyproject.toml) did not run successfully.

  │ exit code: 1

  ╰─> \[8 lines of output\]

🍹 Building a mixed python/rust project

🔗 Found pyo3 bindings

💥 maturin failed

Caused by: Failed to get information from the python interpreter at /data/data/com.termux/files/home/termux-python/target/bin/python

Caused by: platform.system() in python, linux, and the rust target, Target { os: Android, arch: Aarch64, env: Android, triple: "aarch64-linux-android", cross\_compiling: false, rustc\_version: VersionMeta { semver: Version { major: 1, minor: 94, patch: 1 }, commit\_hash: Some("e408947bfd200af42db322daf0fadfe7e26d3bd1"), commit\_date: Some("2026-03-25"), build\_date: None, channel: Stable, host: "aarch64-linux-android", short\_version\_string: "rustc 1.94.1 (e408947bf 2026-03-25) (built from a source tarball)", llvm\_version: Some(LlvmVersion { major: 21, minor: 1 }) }, user\_specified: false }, don't match ಠ\_ಠ

Error running maturin: Command '\['maturin', 'pep517', 'write-dist-info', '--metadata-directory', '/data/data/com.termux/files/usr/tmp/pip-modern-metadata-vw\_887t7', '--interpreter', '/data/data/com.termux/files/home/termux-python/target/bin/python'\]' returned non-zero exit status 1.

Checking for Rust toolchain....

Running \`maturin pep517 write-dist-info --metadata-directory /data/data/com.termux/files/usr/tmp/pip-modern-metadata-vw\_887t7 --interpreter /data/data/com.termux/files/home/termux-python/target/bin/python\`

\[end of output\]

  note: This error originates from a subprocess, and is likely not a problem with pip.

error: metadata-generation-failed

× Encountered error while generating package metadata.

╰─> grimp

note: This is an issue with the package mentioned above, not pip.

hint: See above for details.

How to fix?

reddit.com
u/03May2026 — 12 days ago