5 ms·
Looks like it might be possible but difficult on mobile: https://docs.beeware.org/en/latest/tutorial/tutorial-6.html https://docs.beeware.org/en/latest/tutorial
by udbhavs 5y ago
Looks like it might be possible but difficult on mobile: https://docs.beeware.org/en/latest/tutorial/tutorial-6.html https://docs.beeware.org/en/latest/tutorial/tutorial-6.html
"On desktop platforms (macOS, Windows, Linux), any pip-installable can be added to your requirements. On mobile platforms, your options are a little more limited - you can only use pure Python packages i.e., packages that do not contain a binary module.
This means that libraries like numpy, scikit-learn, or cryptography can be used in a desktop app, but not a mobile app. This is primarily because mobile apps require binary modules that are compiled for multiple platforms, which is difficult to set up.
It’s possible to build a mobile Python app that uses binary modules, but it’s not easy to set up – well outside the scope of an introductory tutorial like this one."
- pzo 5y agoThis was actually a dealbreaker and blocker for me when I last time tried BeeWare. I was hoping I will be able to do some rapid prototyping with numpy + opencv-python directly on my android or iphone. I wish there was at least some tutorial how to make non-pure python modules. I had the same issue when investigating Kivy and PyQt. It definitely seems possible since you can download Pydroid [1] for android (that supports e.g. pyqt, opencv, tensorflow) or Pyto [2] for iOS (that seems actually is based on BeeWare and support many non-pure modules including opencv) [1] https://play.google.com/store/apps/details?id=ru.iiec.pydroid3 https://play.google.com/store/apps/details?id=ru.iiec.pydroi... [2] https://github.com/ColdGrub1384/Pyto https://github.com/ColdGrub1384/Pyto
- codethief 5y agoHow difficult would it be to use numpy on mobile? I mean, there is an arm64 build after all.