Installing python libraries on android | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Installing python libraries on android

I program on an android device for now...and of late, I've been trying to install the pygame library... I downloaded the appropriate .whl file (pygame-1.9.6-cp37-cp37m-win32.whl). The app uses python 3.7 by the way and it runs shell commands like windows... I.e > python -m pip install --user ..... Yet, every time i run an install command, i get the response "pygame-1.9.6-cp37-cp37m-win32.whl is not a supported wheel on this platform." . So i was thinking... is it possible the android version of a device may cause it not install the library? Android version 4.3 by the way

17th Jul 2020, 1:23 AM
...
... - avatar
5 Answers
0
you may need to download the extra bit that comes with it https://play.google.com/store/apps/details?id=ru.iiec.pydroid3.quickinstallrepo if not this try unchecking that box
17th Jul 2020, 1:27 AM
Slick
Slick - avatar
0
No not pydroid... ...actually, my device can't handle pydroid so I use mobile C BTW that app is just soo good
17th Jul 2020, 1:29 AM
...
... - avatar
0
Dang, does it happen to also have an option to "use prebuilt libraries repository"? Ive gotten that error code before, unchecked the option mentioned above and it worked. Couldnt explain the science behind it but mabey it'll help.
17th Jul 2020, 1:37 AM
Slick
Slick - avatar
0
Go into your Play Store and tap the Creator's Name/Company Name. If they have a Prebuilt Library Repository, download that. You can also check if they have a website with files that are compatible.
17th Jul 2020, 4:30 AM
AlexCreeper
AlexCreeper - avatar
0
There is a version of pygame for arm devices. .. So I'll have to download that one.... ...I think that's the best option for now... I'll get back to you if there are any further issues Thank you all for your answers .... ...really appreciate And besides whats the full meaning of arm?
17th Jul 2020, 10:46 PM
...
... - avatar