13 Replies
Unknown UserOP•3y ago
Message Not Public
Sign In & Join Server To View
hmmm that is strange - looks like your app diddnt install dependency?
maybe try manually installing python
torch
module - not sure about spicy details as I havent tried itUnknown UserOP•3y ago
Message Not Public
Sign In & Join Server To View
I thought about from the
pip
level itselfUnknown UserOP•3y ago
Message Not Public
Sign In & Join Server To View
hmmm seems like that torch module isnt named just torch
hmmm
Unknown UserOP•3y ago
Message Not Public
Sign In & Join Server To View
Maybe the packaging was not done properly, there was a similar issue with python-pygame before
gimme a sec to check some stuff
Seems like the package got disabled because it doesn't build in python3.11
https://github.com/termux/termux-packages/commit/a9c646f6b42b3f026d5272450d72a03543e4201b
GitHub
python-torch{,vision}: Disabled · termux/termux-packages@a9c646f
python-torch does not build against Python 3.11.
python-torchvision depends on python-torch.
So you probably installed an older build for python3.10 hence it probably went to the usr/lib/python3.10 directory and won't be detected by python3.11
You can check with
pkg files python-torch
if you see python3.10 paths then yeah it's old, for py3.10 only.Unknown UserOP•3y ago
Message Not Public
Sign In & Join Server To View
tur has python3.10 so if you need to you can also install python3.10 and use it with that in the meantime.
Unknown UserOP•3y ago
Message Not Public
Sign In & Join Server To View