Skip to content
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

How to add a native Python package for kivy? #2089

Closed
wwtghx opened this issue Mar 22, 2020 · 3 comments
Closed

How to add a native Python package for kivy? #2089

wwtghx opened this issue Mar 22, 2020 · 3 comments

Comments

@wwtghx
Copy link

wwtghx commented Mar 22, 2020

Now, I want to add one of the following native Python packages for kivy:
pytorch
keras
tensorflow
And , What can I do?

Thanks~

@hvitis
Copy link

hvitis commented Apr 3, 2020

buildozer init
nano buildozer.spec

# (list) Application requirements
# comma separated e.g. requirements = sqlite3,kivy
requirements = python3,pytorch,keras,tensorflow,kivy

@RobertFlatt
Copy link
Contributor

This is not going to work.
pytorch
keras
tensorflow
are not written in Python, and there are no recipes for compiling their C/C++/Fortran for Android.

Calling these "native Python" is wishful thinking ;)

@AndreMiras
Copy link
Member

Yes basically you would need to create a recipe for them https://python-for-android.readthedocs.io/en/latest/recipes/

@misl6 misl6 closed this as completed Apr 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants