Answer the question
In order to leave comments, you need to log in
How to set python for androi-for-python?
Linux, Kivy, trying the first helloworld.
In order not to dirty the system python with experiments, I assembled a separate environment in Pyenv. This is not just a virtualenv, but a separate compiled interpreter. Packages, dependencies - everything is respected. But.
When running `buildozer android debug` a problem with uninstalled packages comes up:
# Compile platform
# Run '/usr/bin/python -m pythonforandroid.toolchain create --dist_name=newone --bootstrap=sdl2 --requirements=kivy --arch armeabi-v7a --copy-libs --color=always --storage-dir=/home/guest007/tmp/Projects/Kivy/.buildozer/android/platform/build'
# Cwd /home/guest007/tmp/Projects/Kivy/.buildozer/android/platform/python-for-android-master
ERROR: The appdirs Python module could not be found, please install it.
ERROR: The sh Python module could not be found, please install version 1.10 or higher
python-for-android is exiting due to the errors above.
# Command failed: /usr/bin/python -m pythonforandroid.toolchain create --dist_name=newone --bootstrap=sdl2 --requirements=kivy --arch armeabi-v7a --copy-libs --color=always --storage-dir=/home/guest007/tmp/Projects/Kivy/.buildozer/android/platform/build
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question