-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Description
Today I've updated packages in Termux and now my venv no longer works (running beancount):
> uv run python --version
error: Failed to inspect Python interpreter from first executable in the search path at `/data/data/com.termux/files/usr/bin/python`
Caused by: Querying Python at `/data/data/com.termux/files/usr/bin/python` returned an invalid response: unknown variant `arm64_v8a`, expected one of `aarch64`, `arm64`, `armv5tel`, `armv6l`, `armv7l`, `armv8l`, `powerpc64le`, `ppc64le`, `powerpc64`, `ppc64`, `powerpc`, `ppc`, `i386`, `i686`, `x86`, `amd64`, `x86_64`, `s390x`, `loongarch64`, `riscv64`, `wasm32`
[stdout]
{"result": "success", "markers": {"implementation_name": "cpython", "implementation_version": "3.13.12", "os_name": "posix", "platform_machine": "aarch64", "platform_python_implementation": "CPython", "platform_release": "16", "platform_system": "Android", "platform_version": "#1 SMP PREEMPT Fri Jan 2 05:09:34 UTC 2026", "python_full_version": "3.13.12", "python_version": "3.13", "sys_platform": "android"}, "sys_base_prefix": "/data/data/com.termux/files/usr", "sys_base_exec_prefix": "/data/data/com.termux/files/usr", "sys_prefix": "/data/data/com.termux/files/usr", "sys_base_executable": "/data/data/com.termux/files/usr/bin/python", "sys_executable": "/data/data/com.termux/files/usr/bin/python", "sys_path": ["/data/data/com.termux/files/usr/lib/python313.zip", "/data/data/com.termux/files/usr/lib/python3.13", "/data/data/com.termux/files/usr/lib/python3.13/lib-dynload", "/data/data/com.termux/files/usr/lib/python3.13/site-packages"], "site_packages": ["/data/data/com.termux/files/usr/lib/python3.13/site-packages"], "stdlib": "/data/data/com.termux/files/usr/lib/python3.13", "standalone": false, "scheme": {"platlib": "/data/data/com.termux/files/usr/lib/python3.13/site-packages", "purelib": "/data/data/com.termux/files/usr/lib/python3.13/site-packages", "include": "/data/data/com.termux/files/usr/include/python3.13", "scripts": "/data/data/com.termux/files/usr/bin", "data": "/data/data/com.termux/files/usr"}, "virtualenv": {"purelib": "lib/python3.13/site-packages", "platlib": "lib/python3.13/site-packages", "include": "include/site/python3.13", "scripts": "bin", "data": ""}, "platform": {"os": {"name": "android", "api_level": 24}, "arch": "arm64_v8a"}, "manylinux_compatible": false, "gil_disabled": false, "debug_enabled": false, "pointer_size": "64"}
uv version: 0.9.15
Python 3.13.12
I can't find a similar issue reported so far.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels