Reputation: 1255
Is there a way to specify the precise version of python3 that is bundled to apk? How can I figure out what the latest supported version?
When I write requirements = python3
in the buildozer.spec
file, I don't
know what exactly python 3 version is going to be bundled. Of course, I can check it from my app by writing something like:
import sys
print(sys.version)
But that definitely not the best option.
Upvotes: 2
Views: 2870
Reputation: 172
try the following params in buildozer.spec file
requirements = python3==3.11.1, hostpython3==3.11.1, kivy, sqlite3, requests, kivymd, pydantic
works for me
Upvotes: 1
Reputation: 57
For example (in the buildozer.spec file):
requirements = python3==3.6.9, hostpython3==3.6.9, kivy
sets the 'pythons' to use as 3.6.9
On changing the buildozer.spec file you'll have to delete the bin/ and .buildozer/ folder so that buildozer installs the correct versions of python.
Upvotes: 0