-
Notifications
You must be signed in to change notification settings - Fork 863
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to install in Termux (Android) #5644
Comments
The core Textual library should have no problem installing on Android. The issue is the extra dependencies for syntax highlighting:
I'm afraid I don't know anything about Android to suggest any workarounds. |
After reading up on Could you try this and see if the install works?
Contents of overrides.txt:
|
Didn't work:
|
This is also causing install issues for a db tool Harlequin as it depends on tree-sitter, not sure what the impacts will be if we find a way to override this, but willing to try as this unfolds. |
Looks like this was only added recently in uv v0.6.5. |
Termux version is older: $ uv --version
uv 0.6.3 I did download binaries from last version, but for some reason seems confused: $ ./bin/uv --version
uv 0.6.6
~
$ ./bin/uvx --override overrides.txt textual-demo
error: Could not detect either glibc version nor musl libc version, at least one of which is required |
Same issue happens with aider-chat. downloading the tree sitter c static package may fix it but the problem is you cant install it because of conflicting dependency versions |
using $ uvx --override overrides.txt textual-demo
error: Failed to install: uc_micro_py-1.0.3-py3-none-any.whl (uc-micro-py==1.0.3)
Caused by: failed to copy file from /root/.cache/uv/archive-v0/Wd5mRbSQXypbjblSjW1cc/uc_micro/__init__.py to /root/.cache/uv/builds-v0/.tmpSHz3rv/lib/python3.13/site-packages/uc_micro/__init__.py: No such file or directory (os error 2) |
This issue is becoming a bit of a pile on. I think any "non-pure Python" packages may have issues installing on Android? From a quick scan of the other repos mentioned here, there's other dependencies besides Textual that fail to install. But just to reiterate: the core Textual library does not require tree-sitter. The syntax dependencies are optional extras. I'm sorry if these don't have wheels for your platform, but I'm not sure what you expect the Textual library to do about it? |
Tools using textual and installed ok in
Why Some didn't finish the installation, like:
|
This is precisely why I tried to point out this was just becoming a pile on. The reason why those packages failed to install will be in the traceback. If you're able to install the core Textual library without issues, then none of this has anything to do with Textual. |
Let's imagine you're trying to install |
I understand, but my issue started because Maybe depends on external packages that aren't available in Termux (Android). I did think the demo should be an MRE (Minimal Reproducible Example), but I was wrong. |
Sorry maybe I wasn't clear in my first reply, since this issue seemed more about your problems installing parllama rather than the Textual demo. The But this doesn't mean that the core Textual library fails to install on Android. So please, stop spamming here and other repos suggesting that it does. |
@Disonantemus |
Have you checked closed issues?
Yes
Have you checked against the most recent version of Textual?
Yes
The bug
Fail to install textual-demo:
Output:
I came here because Parllama use textual, and I get same failed install.
Termux has some tree-sitter packages, but not all from output log.
The text was updated successfully, but these errors were encountered: